# Check a viewer's image against the live pages, not the trash · dara/icarus

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

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

Visibility: public

Requested revision: d8978e6c1df766ccbdd5fcb567f5e88dacf2f1b0

Requested commit: d8978e6c1df766ccbdd5fcb567f5e88dacf2f1b0

Commit: d8978e6c1df766ccbdd5fcb567f5e88dacf2f1b0

Tree: 3a6e986d199b381d9459daf8b0d264eb01fc517d

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Check a viewer's image against the live pages, not the trash

The trash is hidden from every reader and has no limit on its size, so
reading all of it on each viewer image request could take that request
past Convex's read limits. The live pages are what every snapshot reads
already.

```

## Parents

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

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