Hey Y'all! I'm running a self-hosted server and EC...
# ask-community
j
Hey Y'all! I'm running a self-hosted server and ECS worker in AWS (ECS). I'm running into a rate limit from AWS on the
DescribeTasks
operation.
Copy code
botocore.exceptions.ClientError: An error occurred (ThrottlingException) when calling the DescribeTasks operation (reached max retries: 4): Rate exceeded
I'm guessing this happens on the worker/server as it tries to poll for the status of the ECS task running the Flow. Does anyone have any guidance on how to deal with this? Is there an env var that I can use to turn down how often it polls for status?
🌩️ Just read through the prefect code a bit and found the job configuration property:
task_watch_poll_interval
It defaults to 5s. So I'll just set it higher.
b
Hey Jonathan! Just checking in. Did you have any luck adusting the poll interval?