We were adding the lookback period to `clk.Now()` but should have been subtracting it. Includes a unittest, which I've verified fails against the pre-fix code. |
||
|---|---|---|
| .. | ||
| batch.go | ||
| batch_test.go | ||
| continuous.go | ||
| updater.go | ||
| updater_test.go | ||
We were adding the lookback period to `clk.Now()` but should have been subtracting it. Includes a unittest, which I've verified fails against the pre-fix code. |
||
|---|---|---|
| .. | ||
| batch.go | ||
| batch_test.go | ||
| continuous.go | ||
| updater.go | ||
| updater_test.go | ||