snapshot-labs / snapshot-sidekick

https://sh5.co
MIT License
19 stars 16 forks source link

fix: cap concurrent queues processing items #261

Closed wa0x6e closed 7 months ago

wa0x6e commented 7 months ago

Bot activities are being detected on the CSV votes endpoint, degrading service performance.

This PR introduces a cap on the number of concurrent CSV votes generation, so that even if 100 different CSV reports are being requested, only 10 are being processed at a given time