You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a great gem, but one ability it's missing is to add multiple limits for the same host. For example vk.com restricts you to make 3 requests per second and to 30 requests per minute simultaneously.
The text was updated successfully, but these errors were encountered:
@jumski since my limits were for a big time frame (1 minute, 1 hour) I solved it in another way - I use sidekiq to make requests until api throws an error and then re-schedule the same job after 1 minute or 1 hour to continue with job.
Similar situation to mine - throwing requests from sidekiq jobs.
But I have lot of various workers, and all of them need to obey the limit.
Dunno if it's even possible to safely share counter between threads using slowweb.
It's a great gem, but one ability it's missing is to add multiple limits for the same host. For example vk.com restricts you to make 3 requests per second and to 30 requests per minute simultaneously.
The text was updated successfully, but these errors were encountered: