Skip to content

Limithandler: get rid of weighted semaphore

Jacob Vosmaer requested to merge jv-limithandler-channel into master

In the limithandler (concurrency limiter) we used to have a weighed semaphore. Because the limithandler uses reference counting now we don't use the weights anymore (or rather, we only use weight 1) so we might as well use a buffered channel. I think this is better because it requires less introduction / explanation for the next person reading this code.

Edited by Jacob Vosmaer

Merge request reports

Loading