gperrone
11/09/2023, 6:49 PMrate_limit
function? I have set up a global concurrency limit of 100 with a .25 slot delay per second. I have tried several configurations but no matter what I continue seeing the "Orchestration API Limit Reached" warning in the Prefect Cloud UI.Nate
11/09/2023, 8:51 PMgperrone
11/09/2023, 9:25 PM@flow
def main():
rate_limit("api-limit")
task_futures = [task.submit() for task in tasks]
instead of
@flow
def main():
for task in tasks:
rate_limit("api-limit")
task.submit()
gperrone
11/09/2023, 9:27 PMNate
11/09/2023, 10:49 PMgperrone
11/09/2023, 11:55 PMGuilherme Petris
11/16/2023, 11:42 AMgperrone
11/16/2023, 5:17 PMGuilherme Petris
11/17/2023, 2:14 PMgperrone
11/17/2023, 6:26 PMoccupy
kwarg for the the rate_limit
call? I found those 3 factors affect how often the API is hit.Guilherme Petris
11/20/2023, 2:01 PMtask_runner=
?