Add retry logic to CreateLrpTokensCommand

A transient 404 on entity save interrupts a long-running run of this command.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=138400654
This commit is contained in:
ctingue 2016-11-07 09:30:00 -08:00 committed by Ben McIlwain
parent baaaacd4f5
commit 7a77819977
6 changed files with 51 additions and 6 deletions

View file

@ -16,6 +16,7 @@ package google.registry.util;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.SOURCE;
import java.lang.annotation.Documented;
@ -36,5 +37,5 @@ import java.lang.annotation.Target;
*/
@Documented
@Retention(SOURCE)
@Target({FIELD, METHOD})
@Target({FIELD, METHOD, TYPE})
public @interface NonFinalForTesting {}