You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 23, 2020. It is now read-only.
Turbokrist stops mining if it has submitted too many rejected solutions too quickly, encountering an HTTP 429: Too Many Requests
Expected Behavior
After encountering the HTTP error, Turbokrist should have either waited for the Retry-After response header's duration and keep mining or fully crash so that a script may restart it.
Steps to reproduce
Let Turbokrist run for a while
Turbokrist starts submitting many rejected solutions
krist.ceriat.net returns an HTTP 429: Too Many Requests
Turbokrist encounters an error, and stops mining without fully crashing
I discovered that krist.ceriat.net returns a pair of headers, X-Ratelimit-Remaining and X-Ratelimit-Limit, that can be used to check rates and halt requests in a timeout period. Rates seem to be per minute.
the limit is 320 requests in a 60 second window. after 240 requests in the window, your delays are delayed by 5n ms where n is the request number - 240
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Turbokrist stops mining if it has submitted too many rejected solutions too quickly, encountering an HTTP 429: Too Many Requests
Expected Behavior
After encountering the HTTP error, Turbokrist should have either waited for the Retry-After response header's duration and keep mining or fully crash so that a script may restart it.
Steps to reproduce
Other Information
Ubuntu 16.04.2 64-bit, GeForce GTX 950M: Driver 378.13
I discovered that krist.ceriat.net returns a pair of headers, X-Ratelimit-Remaining and X-Ratelimit-Limit, that can be used to check rates and halt requests in a timeout period. Rates seem to be per minute.
Error Report / Screenshot / Other Media
turbokrist.2017-04-01.00:02:51.snip.log
The text was updated successfully, but these errors were encountered: