mirror of
https://github.com/PerpetualSoftware/pad.git
synced 2026-11-25 09:22:39 +00:00
9c8708368e
The rowless-blob sweep's delete-time row re-check and delete, and the thumbnail refusal cleanup's count and delete, ran under the process-wide in-flight lock with no deadline, so one stalled call stalled every upload. Both now share a refusedBlobDeleteTimeout deadline, as reclaimRefusedBlob does: a re-check or count that times out keeps the blob, a delete that times out only logs. SetOrphanGCConfig raises a grace below orphanGCRefStaleWindow (15 minutes) to that floor and logs the configured and effective values: a shorter grace could let the sweep reclaim a blob a cross-workspace copy had planned from. Claude-Session: https://claude.ai/code/session_0191CBGWyUSPHyzZggnVyGFU