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
The CloudDNS "check for timeout" code, checks the status of a request too fast, which causes API rate limiting to be imposed and the pyrax call to fail - even though the requested operation eventually succeeds.
I believe the key lies in clouddns.py, within the _async_call() function, which contains this code:
That "while loop" will fetch the status URL as fast as possible.
I've found that the status rate-limit on my account is 5/sec. When this code is executed on a server with sufficiently fast network connectivity to the API endpoints, this rate-limit is encountered every time.
May I suggest that a brief time delay be added into the "while loop"? Perhaps 0.5 seconds? Perhaps this delay could also be exposed as a configurable option?
The text was updated successfully, but these errors were encountered:
The CloudDNS "check for timeout" code, checks the status of a request too fast, which causes API rate limiting to be imposed and the pyrax call to fail - even though the requested operation eventually succeeds.
I believe the key lies in clouddns.py, within the _async_call() function, which contains this code:
That "while loop" will fetch the status URL as fast as possible.
I've found that the status rate-limit on my account is 5/sec. When this code is executed on a server with sufficiently fast network connectivity to the API endpoints, this rate-limit is encountered every time.
May I suggest that a brief time delay be added into the "while loop"? Perhaps 0.5 seconds? Perhaps this delay could also be exposed as a configurable option?
The text was updated successfully, but these errors were encountered: