diff --git a/src/agent/network.ts b/src/agent/network.ts index b26bcbbc..f9956819 100644 --- a/src/agent/network.ts +++ b/src/agent/network.ts @@ -166,10 +166,10 @@ class Cursor { ) // If we got zero results for any relays, they have nothing for the given window, - // back until up to since for next time + // back until up to since for next time, but only for relays currently in the window if (this.delta) { this.relays.forEach(r => { - if (untilCopy[r.url] === this.until[r.url]) { + if (this.until[r.url] > this.since && untilCopy[r.url] === this.until[r.url]) { this.until[r.url] -= this.delta } })