Files
pad/internal
xarmian 9c8708368e fix(server): bound the calls made under the in-flight lock; floor the orphan GC grace (TASK-4280)
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
2026-11-03 20:53:04 +00:00
..