Skip to content
This repository has been archived by the owner on Apr 18, 2018. It is now read-only.

util.Stopwatch always returns "True" for has_time_remaining #58

Open
klange opened this issue Mar 20, 2014 · 0 comments
Open

util.Stopwatch always returns "True" for has_time_remaining #58

klange opened this issue Mar 20, 2014 · 0 comments

Comments

@klange
Copy link
Contributor

klange commented Mar 20, 2014

https://github.com/Yelp/python-gearman/blob/master/gearman/util.py#L11-L35

has_time_remaining attempts to compare an absolute time (stop_time) with a time interval (time_comparison), the latter of which will (logically) always be less than the former.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant