Gracefully cancel superseded reconversion jobs on rapid saves

FixDocsService
Shipped
April 16, 2026 at 3:59 PM UTC
Author
Kamo
Commit
2f05ab1

When a document is saved multiple times quickly, each save registers its ImgDat UUID in a ConcurrentHashMap. The async reconversion task checks this at 6 checkpoints (before start, after download, after PDF conversion, after PDF upload, before thumbnails, after thumbnail generation). If a newer save has replaced the expected ImgDat, the task exits immediately without writing stale results or orphaned records.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing