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

mapic: Invert flag to skip mist stats #213

Merged
merged 2 commits into from
Oct 21, 2022
Merged

Conversation

victorges
Copy link
Member

Mist cant handle a boolean flag set to false,
its default value must be false instead and
it can only be set to true lol

Mist cant handle a boolean flag set to false,
its default value must be false instead and
it can only be set to true lol
@victorges victorges requested a review from a team as a code owner October 21, 2022 22:24
@@ -41,7 +41,7 @@ func main() {
mistConnectTimeout := fs.Duration("mist-connect-timeout", 5*time.Minute, "Max time to wait attempting to connect to Mist server")
mistStreamSource := fs.String("mist-stream-source", "push://", "Stream source we should use for created Mist stream")
mistHardcodedBroadcasters := fs.String("mist-hardcoded-broadcasters", "", "Hardcoded broadcasters for use by MistProcLivepeer")
mistScrapeMetrics := fs.Bool("mist-scrape-metrics", true, "Scrape statistics from MistServer and publish to RabbitMQ")
noMistScrapeMetrics := fs.Bool("no-mist-scrape-metrics", true, "Scrape statistics from MistServer and publish to RabbitMQ")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
noMistScrapeMetrics := fs.Bool("no-mist-scrape-metrics", true, "Scrape statistics from MistServer and publish to RabbitMQ")
noMistScrapeMetrics := fs.Bool("no-mist-scrape-metrics", false, "Scrape statistics from MistServer and publish to RabbitMQ")

Copy link
Contributor

@iameli iameli left a comment

Choose a reason for hiding this comment

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

LGTM

@victorges victorges merged commit be9af8b into master Oct 21, 2022
@victorges victorges deleted the vg/fix/no-mist-stats branch October 21, 2022 22:27
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.

2 participants