Skip to content

increase IO polling interval over time#891

Merged
jmchilton merged 10 commits intogalaxyproject:masterfrom
martenson:increase-polling-interval-overtime
Nov 9, 2018
Merged

increase IO polling interval over time#891
jmchilton merged 10 commits intogalaxyproject:masterfrom
martenson:increase-polling-interval-overtime

Conversation

@martenson
Copy link
Member

@martenson martenson commented Nov 8, 2018

Introduces configurable option --polling_backoff <integer> which, atm, increases polling interval by <integer> second(s) every round. This considerably lowers the load on the target instance when waiting on dataset state changes.

xref: galaxyproject/usegalaxy-playbook#164

Co-Authored-By: martenson <marten@bx.psu.edu>
nsoranzo and others added 2 commits November 8, 2018 20:43
Co-Authored-By: martenson <marten@bx.psu.edu>
from a flag to an argument-receiving option
@nsoranzo
Copy link
Member

nsoranzo commented Nov 9, 2018

Thanks @martenson for changing it to an int, I wanted to suggest it, but than backed off 😆

nsoranzo and others added 2 commits November 8, 2018 21:21
Co-Authored-By: martenson <marten@bx.psu.edu>
Copy link
Member

@hexylena hexylena 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 to me. I retract my gitter comments, looks fine even with 5-10s of backoff at each step.

Copy link
Member

@jmchilton jmchilton left a comment

Choose a reason for hiding this comment

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

Perfect, also prefer it as an int - much more general IMO.

@jmchilton jmchilton merged commit 7569eb3 into galaxyproject:master Nov 9, 2018
@martenson martenson deleted the increase-polling-interval-overtime branch November 9, 2018 13:13
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.

5 participants