diff options
author | dcorbacho <dparracorbacho@piotal.io> | 2021-04-12 22:41:22 +0200 |
---|---|---|
committer | dcorbacho <dparracorbacho@piotal.io> | 2021-04-12 22:41:22 +0200 |
commit | bfdc1a46dac478e3f28e8b10ead4b66284fbe0df (patch) | |
tree | fe6fefd6bf7d464dd54c2e051c5cfaf1c6f31cbd | |
parent | 1cb2a0f40368ae1bde8c28089adb5f8697be99ea (diff) | |
download | rabbitmq-server-git-faster-stream-coordinator-tick.tar.gz |
Force a faster coordinator tick to flush data quickerfaster-stream-coordinator-tick
On restart it replays some old effects unnecessary, this change reduces
the risk of it
-rw-r--r-- | deps/rabbit/src/rabbit_stream_coordinator.hrl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/rabbit/src/rabbit_stream_coordinator.hrl b/deps/rabbit/src/rabbit_stream_coordinator.hrl index e6bba92070..81be4819ea 100644 --- a/deps/rabbit/src/rabbit_stream_coordinator.hrl +++ b/deps/rabbit/src/rabbit_stream_coordinator.hrl @@ -1,6 +1,6 @@ -define(STREAM_COORDINATOR_STARTUP, {stream_coordinator_startup, self()}). --define(TICK_TIMEOUT, 60000). +-define(TICK_TIMEOUT, 1000). -define(RESTART_TIMEOUT, 1000). -define(PHASE_RETRY_TIMEOUT, 10000). -define(CMD_TIMEOUT, 30000). |