mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 11:48:13 +01:00
Tweak reconnect log message - add time unit
This commit is contained in:
@@ -126,7 +126,7 @@ pub async fn forward<N: Notifier>(
|
|||||||
|
|
||||||
let delay = exponential_delay(reconnect_attempt);
|
let delay = exponential_delay(reconnect_attempt);
|
||||||
reconnect_attempt = (reconnect_attempt + 1).min(10);
|
reconnect_attempt = (reconnect_attempt + 1).min(10);
|
||||||
info!("reconnecting in {delay}");
|
info!("reconnecting in {delay} ms");
|
||||||
|
|
||||||
tokio::select! {
|
tokio::select! {
|
||||||
_ = time::sleep(Duration::from_millis(delay)) => (),
|
_ = time::sleep(Duration::from_millis(delay)) => (),
|
||||||
|
|||||||
Reference in New Issue
Block a user