Closing bug involving heartbeat timeout.
The timeout logic was inverted. A timeout is when now > deadline. Closes #48.
This commit is contained in:
parent
badac7d551
commit
fb4d3c88ce
|
@ -262,7 +262,7 @@ impl ArtilleryEpidemic {
|
|||
fn prune_timed_out_responses(&mut self) {
|
||||
let now = Utc::now();
|
||||
|
||||
let (remaining, expired): (Vec<_>, Vec<_>) = self
|
||||
let (expired, remaining): (Vec<_>, Vec<_>) = self
|
||||
.pending_responses
|
||||
.iter()
|
||||
.cloned()
|
||||
|
|
Loading…
Reference in New Issue