scitokens / scitokens-cpp

A C++ implementation of the SciTokens library with a C library interface
Apache License 2.0
5 stars 22 forks source link

Avoid retrying for 5 minutes after failed key retrieval (backport) #103

Closed bbockelm closed 1 year ago

bbockelm commented 1 year ago

Without this, a persistent failure in the key retrieval will not be remembered, meaning rapid-fire retries from the client will result in a similar number of key retrieval attempts.

This causes the next_update to be set forward by 5 minutes after each failure.