KamoCRM

Gracefully cancel superseded reconversion jobs on rapid saves

FixDocsService
Name
lúc 15:59 16 tháng 4, 2026 UTC
Tác giả
Kamo
Cam kết
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.

Mọi thay đổi

Như những gì anh thấy vận chuyển?

Tất cả những thứ đó đều đến trong không gian làm việc của anh. Bắt đầu với kế hoạch miễn phí và đọc lại trang này trong một tháng.

Bắt đầu tự do mãi mãiXem truy cập