Angad
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.
9 replies
How to write windmill variables from scripts
I have to do a task from the point which i store in a variable then save new point in that variable and this task going on in a Schedules
i write a script to do that task i import variable (await wmill.getVariable('u/aXXX/id))
but i can't write it back as the script run
any ideas how to deal with this
5 replies
i am facing an issue in get webhook when parsing a query parameter
include_query=hub.mode,hub.challenge
the query variable are hub.mode and hub.challenge but i cant use this in script as a syntax error
export async function main(hub.mode,hub.challenge) { -----> this give syntax eror
return
}
is there some query object from which i can directly access these parameter as a key value.
7 replies