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

Guard loop sleep made configurable #182

Merged
merged 2 commits into from
Jul 21, 2016

Conversation

bob-r
Copy link

@bob-r bob-r commented Jul 12, 2016

Please, consider making guard loop sleep configurable. For ORM broker, it may be useful to increase the cycle to avoid too often modifications of DB.

@codecov-io
Copy link

codecov-io commented Jul 12, 2016

Current coverage is 90.80%

Merging #182 into master will decrease coverage by 5.82%

@@             master       #182   diff @@
==========================================
  Files            40         40          
  Lines          2726       2729     +3   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits           2634       2478   -156   
- Misses           92        251   +159   
  Partials          0          0          

Powered by Codecov. Last updated by 778607b...cadbc9f

@Koed00
Copy link
Owner

Koed00 commented Jul 12, 2016

Like it. Only problem I see is with the schedules when a value greater than 60 seconds is used.

@Koed00
Copy link
Owner

Koed00 commented Jul 13, 2016

Awesome. I'll merge it as soon as I fix the postgres problems with the current tests.

@Koed00 Koed00 merged commit 837c873 into Koed00:master Jul 21, 2016
@bob-r
Copy link
Author

bob-r commented Aug 12, 2016

Sorry, I just noticed that counter in Cluster::guard was 30, not 60. Should guard_cycle be in range (0, 30)? Should the counter be configurable as well?

@bob-r bob-r deleted the configurable_guard_cycle branch March 13, 2017 15:03
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