Skip to content
Snippets Groups Projects
Commit 551af3a2 authored by Eric Cano's avatar Eric Cano
Browse files

Added after requeueing requests in {Archive,Retrieve}Request::garbageCollect().

As those fuctions are usually called in a tight loop at the end of the session or in the garbage collector,
they tend to unlock and relock the queues immediately, and sitting on the lock for a long time in practice.
The added sleep will increase the odds of other processing slipping in between the unlock and the lock.
parent f6c27b3c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment