Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The semaphore is aquired after the conditions for fetching are already evaluated. It means that multiple threads/runners can decide to fetch simultaneously and then wait on the same semaphore, even though only one fetch is needed. Therefore, fetch would happen more often than what is specified in fetch times, and requests can be slow under load. commit-id:a4cd58e6
- Loading branch information