mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 18:51:12 +00:00
committed by
Arkadiy Paronyan
parent
2ece52f339
commit
920a6b810e
@@ -115,9 +115,11 @@ impl TelemetryWriter {
|
||||
};
|
||||
|
||||
drop(client);
|
||||
if just_connected && !controlled_disconnect {
|
||||
if just_connected {
|
||||
if !controlled_disconnect {
|
||||
info!("Reconnected to telemetry server: {}", self.config.url);
|
||||
}
|
||||
self.last_time = Some(time::Instant::now());
|
||||
info!("Reconnected to telemetry server: {}", self.config.url);
|
||||
(self.config.on_connect)();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user