Skip to content

Commit

Permalink
restart counter on reconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
mojoX911 committed Jan 9, 2025
1 parent 71ca2c4 commit 8aa4832
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/market/directory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,13 @@ impl DirectoryServer {
metadata.0
);
} else {
log::info!("Maker data already exist for {}", metadata.0);
log::info!(
"Maker data already exist for {} | restarted counter",
metadata.0
);
write_lock
.entry(metadata.1)
.and_modify(|(_, instant)| *instant = Instant::now());
}
} else {
// Add a new entry if both fidelity and address are new
Expand Down

0 comments on commit 8aa4832

Please sign in to comment.