# Wait a day at a time for trashed pages to expire · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/cf5ecd1c667bcff72bd800ab56937781c4b60d8a)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: cf5ecd1c667bcff72bd800ab56937781c4b60d8a

Requested commit: cf5ecd1c667bcff72bd800ab56937781c4b60d8a

Commit: cf5ecd1c667bcff72bd800ab56937781c4b60d8a

Tree: b84bbda881fc398db2e720e39e3666d476c9343d

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Wait a day at a time for trashed pages to expire

Browsers fire a timer longer than about 24.8 days (2^31 ms) at once. The
trash provider waited the full time until the first trashed page's 30 days
ran out, so on web a fresh deletion made it read pages:listTrashed again
immediately, schedule the same timer, and loop (~8 reads a second while the
pages bar was open). Cap the wait at one day.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [048e03a35b4abf459be77de11a76afa288d83483](https://git.cafe/dara/icarus/commit/048e03a35b4abf459be77de11a76afa288d83483?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/cf5ecd1c667bcff72bd800ab56937781c4b60d8a?format=markdown)
