Disable the random sleep in pull-replication fetch filter The multi-site plugin register a pull-replication fetch filter that is sleeping randomly when the local ref isn't up-to-date with the global ref-db, which is the normal behaviour. The local sleep is done for retrying the operation and avoid potential flakiness, however, it introduces a significant slowdown which makes the fetch-based replication very slow. Change-Id: I8553c3bc4667540d337c6f4876bc599613e3356f
diff --git a/setup_local_env/configs/multi-site.config b/setup_local_env/configs/multi-site.config index 9571513..17f473e 100644 --- a/setup_local_env/configs/multi-site.config +++ b/setup_local_env/configs/multi-site.config
@@ -9,3 +9,5 @@ projectListEventTopic = gerrit_list_project cacheEventTopic = gerrit_cache_eviction +[replication "fetch-filter"] + maxRandomWaitBeforeReloadLocalVersionMs = 0 \ No newline at end of file