Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug 2573: support --metadata-output-stream command-line override for config. #2574

Merged

Conversation

graydon
Copy link
Contributor

@graydon graydon commented Jun 10, 2020

This adds a command-line flag --metadata-output-stream to run and catchup which allows users to set the METADATA_OUTPUT_STREAM config variable if it's not set in the config file. This helps enable horizon to run captive core while still using a user-provided config file (with user-provided quorum and so on).

{
// Allow overriding config METADATA_OUTPUT_STREAM using
// command line --metadata-output-stream
config.METADATA_OUTPUT_STREAM = stream;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it just blow up if the setting was already in the config file? I kinda hate the notion of "override" that just creates ambiguity.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair, pushed variant that's exclusive.

@MonsieurNicolas
Copy link
Contributor

r+ 5990358

@latobarita latobarita merged commit 9cbef5b into stellar:master Jun 12, 2020
@graydon graydon deleted the bug-2573-metadata-output-from-command-line branch June 23, 2020 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants