commit | e44cf6e191255c796f0316cdcc4280978bb4a4d2 | [log] [tgz] |
---|---|---|
author | David Pursehouse <david.pursehouse@sonymobile.com> | Thu Jan 21 13:44:44 2016 +0900 |
committer | David Pursehouse <david.pursehouse@sonymobile.com> | Fri Jan 22 10:31:39 2016 +0900 |
tree | 271428b9550d9212a4518c52156502ee42ad01b5 | |
parent | f4929df99e274113eb11a6bd6fe7a8b8f2088b6e [diff] |
Destination: Add missing switch case for RetryReason Change-Id: I70cef58f5e50fc7e3c4a0c4653b044392a6cca21
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java b/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java index 1c21721..b1a46b8 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java +++ b/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java
@@ -362,6 +362,7 @@ pool.schedule(pushOp, delay, TimeUnit.SECONDS); break; case TRANSPORT_ERROR: + case REPOSITORY_MISSING: default: pushOp.setToRetry(); pool.schedule(pushOp, retryDelay, TimeUnit.MINUTES);