fix delay in message_lane_loop_is_able_to_recover_from_connection_errors (#850)

This commit is contained in:
Svyatoslav Nikolsky
2021-03-31 14:50:55 +03:00
committed by Bastian Köcher
parent bc50fa6616
commit b6d034afaf
2 changed files with 14 additions and 3 deletions
@@ -221,6 +221,7 @@ pub async fn run<P: MessageLane>(
) -> Result<(), String> {
let exit_signal = exit_signal.shared();
relay_utils::relay_loop(source_client, target_client)
.reconnect_delay(params.reconnect_delay)
.with_metrics(format!(
"{}_to_{}_MessageLane_{}",
P::SOURCE_NAME,