Use reference counting in limithandler middleware
Closes #2574 (closed) #2588 (closed)
As explained by #2588 (closed), the limit handler has a race condition in how it handles evictions from its semaphore map. In this MR we change the eviction mechanism to use reference counting as discussed in #2588 (closed).
Edited by GitLab Release Tools Bot