https://prefect.io logo
j

John Grubb

12/29/2020, 4:54 PM
Hi, probably dumb Q but from your docs on Task Concurrency -
This means that Prefect Cloud will ensure that no more than 10 tasks with the "database" tag will be running at any given time.
this also applies to mapped tasks, yes? So say I want to backfill some data off of a slow API endpoint, I don't want to bury the application with tons of concurrent requests but I also don't want to switch over to the LocalExecutor for the job. Could I set a concurrency limit of
2
for this API and will the mapped tasks behave as intended?
j

Jim Crist-Harif

12/29/2020, 4:56 PM
yes, concurrency limits apply to all tasks equally.
j

John Grubb

12/29/2020, 4:57 PM
marvelous, thank you. I look forward to paying you soon đŸ™‚