debugging more..
This commit is contained in:
committed by
Bogdan-Ștefan Neacşu
parent
f0e35599f1
commit
561c3db999
@@ -133,7 +133,8 @@ impl<St: Storage> PeerController<St> {
|
||||
}
|
||||
|
||||
async fn check_peers(&mut self) -> Result<(), Error> {
|
||||
let reset = Utc::now().minute() % 10 == 5;
|
||||
// let reset = Utc::now().minute() % 10 == 5;
|
||||
let reset = Utc::now().num_seconds_from_midnight() % 2400 == 0;
|
||||
|
||||
if reset {
|
||||
for (_, peer) in self.suspended_peers.drain() {
|
||||
|
||||
Reference in New Issue
Block a user