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:
ctingue
2016-03-23 22:38:08 -04:00
committed by Justine Tunney
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();
}