Skip to content
Snippets Groups Projects
Commit 878004b1 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 0ab69670
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.
Please register or to comment