diff options
Diffstat (limited to 'src/main/resources/Documentation/config.md')
-rw-r--r-- | src/main/resources/Documentation/config.md | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/src/main/resources/Documentation/config.md b/src/main/resources/Documentation/config.md index 709d61f..9fae6a3 100644 --- a/src/main/resources/Documentation/config.md +++ b/src/main/resources/Documentation/config.md @@ -104,6 +104,18 @@ replication.lockErrorMaxRetries Default: 0 (disabled, i.e. never retry) +replication.maxRetries +: Maximum number of times to retry a push operation that previously + failed. + + When a push operation reaches its maximum number of retries + the replication event is discarded from the queue and the remote + destinations could be out of sync. + + Can be overridden at remote-level by setting replicationMaxRetries. + + By default, push are retried indefinitely. + remote.NAME.url : Address of the remote server to push to. Multiple URLs may be specified within a single remote block, listing different @@ -210,12 +222,25 @@ remote.NAME.replicationRetry If a remote push operation fails because a remote server was offline, all push operations to the same destination URL are - blocked, and the remote push is continuously retried. + blocked, and the remote push is continuously retried unless + the replicationMaxRetries value is set. This is a Gerrit specific extension to the Git remote block. By default, 1 minute. +remote.NAME.replicationMaxRetries +: Maximum number of times to retry a push operation that previously + failed. + + When a push operation reaches its maximum number of retries + the replication event is discarded from the queue and the remote + destinations could be out of sync. + + This is a Gerrit specific extension to the Git remote block. + + By default, use replication.maxRetries. + remote.NAME.threads : Number of worker threads to dedicate to pushing to the repositories described by this remote. Each thread can push |