Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcache-bulk: adjust semaphore permits to something more reasonable
Motivation: The semaphore in a bulk activity is used to throttle concurrency so as not to cause a DOS on other dCache services. Each time a bulk request is started, the container is given a new semaphore based on the number of permits defined for the activity in question. Unfortunately, permits are currently specified as if the obtained globally for all running jobs of that activity. Hence, in the case of PIN, QOS, etc., these are unreasonable and defeat the purpose. Modification: Set the per-container permit values to something more reasonable. Result: Semaphores will have a reasonable chance of working as intended. Target: master Request: 9.1 Request: 9.0 Request: 8.2 Patch: https://rb.dcache.org/r/14062/ Requires-notes: yes Acked-by: Tigran
- Loading branch information