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

ExponentialBackOffPolicy is broken #126

Closed
wonderfly opened this issue Jan 9, 2015 · 1 comment
Closed

ExponentialBackOffPolicy is broken #126

wonderfly opened this issue Jan 9, 2015 · 1 comment
Assignees
Labels
🚨 This issue needs some love. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@wonderfly
Copy link
Contributor

From yan...@google.com on June 08, 2012 07:15:09

Version of google-http-java-client (e.g. 1.5.0-beta)? http://javadoc.google-http-java-client.googlecode.com/hg/1.10.0-beta/com/google/api/client/http/ExponentialBackOffPolicy.html Java environment (e.g. Java 6, Android 2.3, App Engine)? All Describe the problem. getNextBackOffMillis() almost always returns BackOffPolicy.STOP. That's because getElapsedTimeMillis() is off by a factory of a thousand. For example, after a second of waiting, when I call getElapsedTimeMillis() I get 1000111. How would you expect it to be fixed? getElapsedTimeMillis() needs to divide by 1000.

Original issue: http://code.google.com/p/google-http-java-client/issues/detail?id=126

@wonderfly wonderfly added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. imported labels Jan 9, 2015
@wonderfly wonderfly self-assigned this Jan 9, 2015
@wonderfly
Copy link
Contributor Author

From yan...@google.com on June 08, 2012 07:32:49

http://codereview.appspot.com/6304056/

Status: Fixed

@yoshi-automation yoshi-automation added 🚨 This issue needs some love. triage me I really want to be triaged. labels Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 This issue needs some love. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants