mirror of
https://github.com/google/nomulus.git
synced 2025-08-11 03:59:37 +02:00
Implement 10 min backoff for failed async deletes
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=117945626
This commit is contained in:
parent
85911e0b95
commit
79b2d5a990
3 changed files with 19 additions and 0 deletions
|
@ -256,4 +256,12 @@ public interface RegistryConfig {
|
|||
* committed, and could potentially miss the reference.
|
||||
*/
|
||||
public Duration getAsyncDeleteFlowMapreduceDelay();
|
||||
|
||||
/**
|
||||
* Returns the amount of time to back off following an async delete flow task failure.
|
||||
*
|
||||
* This should be ~orders of magnitude larger than the rate on the queue, in order to prevent
|
||||
* the logs from filling up with unnecessarily failures.
|
||||
*/
|
||||
public Duration getAsyncDeleteFlowFailureBackoff();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue