| EBernhardson added a comment. |
I don't know if it would work as well here, but other services in the cluster user a cluster-wide semaphore via the PoolCounter service. Perhaps it would be a bit annoying to tie into, but it's a very simple service. You could use a semaphore per-ip to at least prevent mass spams, this is relatively efficient because the service only remembers locks being actively held, if an ip makes a request any info about that ip is forgotten once when lock is released.
TASK DETAIL
EMAIL PREFERENCES
To: EBernhardson
Cc: EBernhardson, Lydia_Pintscher, Sjoerddebruin, debt, BBlack, Gehel, Aklapper, Smalyshev, GoranSMilovanovic, Th3d3v1ls, Hfbn0, QZanden, EBjune, merbst, Avner, Zppix, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, faidon, Mbch331, Jay8g, fgiunchedi
Cc: EBernhardson, Lydia_Pintscher, Sjoerddebruin, debt, BBlack, Gehel, Aklapper, Smalyshev, GoranSMilovanovic, Th3d3v1ls, Hfbn0, QZanden, EBjune, merbst, Avner, Zppix, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, faidon, Mbch331, Jay8g, fgiunchedi
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
