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
I'd like to see at least a basic check that prevents a new assessment if current assessments is equal to or greater than max assessments. This should prevent this client from receiving a 429 error as well.
If you want to get fancy, you can queue new assessments when the current assessments are too high and attempt to pull items off the queue when an assessment completes and the current assessments are lower than the maximum.
The text was updated successfully, but these errors were encountered:
Neither the API calls nor the CLI utilty do parallel calls so I do not see where I could put this. If I get a 429 then it is returned to the caller who is supposed to handle it. ssllabs-scanfrom SSLLabs do some kind of 429 processing.
If the library does not support parallel requests, then it is less important I suppose.
However, it is recommended in the SSL Labs API documentation to call info before analyze, check the values of the assessment headers, and only then call analyze (for new assessments) if the current assessments are less than the maximum.
All successful API calls contain response headers X-Max-Assessments and X-Current-Assessments. They can be used to calculate how many new assessments can be submitted. It is recommended that clients update their internal state after each complete response.
I'd like to see at least a basic check that prevents a new assessment if current assessments is equal to or greater than max assessments. This should prevent this client from receiving a 429 error as well.
If you want to get fancy, you can queue new assessments when the current assessments are too high and attempt to pull items off the queue when an assessment completes and the current assessments are lower than the maximum.
The text was updated successfully, but these errors were encountered: