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

gemini: attempts to shutdown more precisely #239

Merged
merged 3 commits into from
May 18, 2020
Merged

gemini: attempts to shutdown more precisely #239

merged 3 commits into from
May 18, 2020

Conversation

dahankzter
Copy link
Contributor

@dahankzter dahankzter commented May 18, 2020

Using 'golang.org/x/sync/errgroup' instead of Tomb. Simplifying
the nested goroutines and returns errors more frequently.

Fixes: #226

Using 'golang.org/x/sync/errgroup' instead of Tomb. Simplifying
the nested goroutines and returns errors more frequently.
@dahankzter dahankzter force-pushed the issue_226 branch 2 times, most recently from ac839c5 to 2b8817b Compare May 18, 2020 09:45
Copy link
Contributor

@penberg penberg left a comment

Choose a reason for hiding this comment

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

Looks good.

The main run method now executes jobs directly and runs warmup
synchronously if needed.

Signal handling moved out to the main run method instead of being
piggybacked on the pump.
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.

Gemini continue to run after reporting about found error and exiting with low rate
2 participants