From 4dbb23cb7cd3f3420c1892db6590cd4e8eb2a86c Mon Sep 17 00:00:00 2001 From: Michael Klishin Date: Thu, 30 Jan 2025 21:19:22 -0500 Subject: [PATCH] Bump Khepri cluster formation timeout to match that used with Mnesia. In the case of Mnesia, there are 10 retries with a 30 second delay each. For Khepri, a single timeout is used, so it must be ten times as long. (cherry picked from commit e171e0a4dc2f1fe70ba0f64d1691ef31dc760275) --- deps/rabbit/src/rabbit_khepri.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/rabbit/src/rabbit_khepri.erl b/deps/rabbit/src/rabbit_khepri.erl index 67de53524c42..a370914a3a40 100644 --- a/deps/rabbit/src/rabbit_khepri.erl +++ b/deps/rabbit/src/rabbit_khepri.erl @@ -286,7 +286,7 @@ setup(_) -> retry_timeout() -> case application:get_env(rabbit, khepri_leader_wait_retry_timeout) of {ok, T} -> T; - undefined -> 30000 + undefined -> 300_000 end. retry_limit() ->