Many of my scripts are failing due to API rate limit
I use windmill script to put some shopify data in clickup table, but clickup has an api rate limit i.e 100 request per minutes, due to his many of the webhooks trigger fails to put the data in clickup table.
I comes up with some Solution but i need some suggestion,
1. Is there some bot that re-runs the fails script after some times, or some apis for windmill that can get all the fail scripts and then triger them througs apis.
2. I thought putting some delay in code may works but i am affraid that will block the worker (the worker thats running the script), and i even don't know how many worker i get in my plan.
If someone have some other suggestion and answer please help.
6 Replies
you could use the built-in concurrency limits of windmill
how can i do that ?
Runtime settings of your step or script
it's EE only but I believe you're in the cloud ?
i found the option, could you explain me this concurrency limit and the time window
Concurrency Limits | Windmill
The Concurrency Limits feature allows you to define concurrency limits for scripts, flows and inline scripts within flows. Its primary goal is to prevent exceeding the API Limit of the targeted API, eliminating the need for complex workarounds using worker groups.
thanks alot @rubenf
u r the best