-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add missing features, polish to SynchronousComputeService
#98
Conversation
SynchronousComputeService
SynchronousComputeService
Still need to modify claiming code yet.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #98 +/- ##
==========================================
- Coverage 85.53% 84.96% -0.58%
==========================================
Files 21 21
Lines 1915 2088 +173
==========================================
+ Hits 1638 1774 +136
- Misses 277 314 +37
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few little queries but overall looking good.
…eartbeat Need at least a separate thread for heartbeat to avoid it being blocked by a long calculation.
…uests Instead, making expiry part of the heartbeat API call; should be fairly cheap, and should still get the desired effect.
heartbeat interval for SynchronousComputeService set to 300 seconds (5 min); expiry set to 1800 seconds (30 minutes)
Very much a work in progress; will be a separate PR from #98
@mikemhenry do you have a favorite logging formatter you'd like us to use for compute service logs? |
yaml.load -> yaml.safe_load Co-authored-by: Hugo MacDermott-Opeskin <[email protected]>
Also put in better stop conditions for the service itself.
Ready for final review @hmacdope! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great @dotsdl, just a few minor things. Ping me again when you want another review, its super close.
Co-authored-by: Hugo MacDermott-Opeskin <[email protected]>
SynchronousComputeService
SynchronousComputeService
Changes complete @hmacdope! Ready for another review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You satisfied all my queries @dotsdl! Feel free to merge when ready.
Thanks @hmacdope! This PR is much better following your reviews. Merging! |
Closes #34.