Ping and check timeouts in different phases
Dependencies
- [2]
3EKAR2UJClean up some clippy warnings - [3]
3RMEABMUPrepare to add HTTP API to ping cutom jids - [4]
TGO4TIWUFix README - [5]
S7A7LHUNFix some warnings
Change contents
- edit in src/main.rs at line 311
let mut phase = false; - replacement in src/main.rs at line 320[3.51437]→[2.1541:1590](∅→∅),[3.589]→[3.505:617](∅→∅),[2.1590]→[3.505:617](∅→∅),[3.505]→[3.505:617](∅→∅),[3.617]→[3.590:651](∅→∅),[3.651]→[2.1591:1660](∅→∅),[2.1660]→[3.830:856](∅→∅),[3.830]→[3.830:856](∅→∅),[3.856]→[2.1661:1752](∅→∅)
if let Err(e) = cmd_send.clone().send(XmppCommand::Ping { opt_xmpp_to: None }).await{error!("Cann't send global ping {}", e);}if let Err(e) = cmd_send.send(XmppCommand::TimeoutCleanup).await {phase = !phase;if phase {if let Err(e) = cmd_send.clone().send(XmppCommand::Ping { opt_xmpp_to: None }).await{error!("Cann't send global ping {}", e);}} else if let Err(e) = cmd_send.send(XmppCommand::TimeoutCleanup).await {