# persist: a future history stamp no longer defeats the 15-minute gate \(\#142\) · lucenx/signaltty

[View on GitCafe](https://git.cafe/lucenx/signaltty/commit/6f735a7ff143dd5746b2d3d2fb1cf55296333dda)

Repository: [lucenx/signaltty](https://git.cafe/lucenx/signaltty)

Visibility: public

Requested revision: 6f735a7ff143dd5746b2d3d2fb1cf55296333dda

Requested commit: 6f735a7ff143dd5746b2d3d2fb1cf55296333dda

Commit: 6f735a7ff143dd5746b2d3d2fb1cf55296333dda

Tree: 7079abec9707a3fedad7cfdb249220ec58a6f022

Author: Simone

Committer: GitHub

## Message

```
persist: a future history stamp no longer defeats the 15-minute gate (#142)

After the clock steps back (dual-boot RTC in local time, NTP correction,
a state dir copied from a skewed machine) the future copy sorts last, so
the gate saw it as not recent and every 2s flush made a new copy,
pruning the older 15-minute history within minutes. Judge recency by the
newest copy that is not in the future.

Co-authored-by: Grok Bot <grok-bot@users.noreply.github.com>
```

## Parents

- [cba8189f3dadb5b200612b0d95b45a4989715ed9](https://git.cafe/lucenx/signaltty/commit/cba8189f3dadb5b200612b0d95b45a4989715ed9?format=markdown)

[Source at this commit](https://git.cafe/lucenx/signaltty/tree/6f735a7ff143dd5746b2d3d2fb1cf55296333dda?format=markdown)
