Migrate gather_with_limited_concurrency to use create_eager_task (#111565)

pull/111575/head^2
J. Nick Koston 2024-02-26 16:31:52 -10:00 committed by GitHub
parent 4bdd8dbd40
commit cfe478245f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -216,7 +216,8 @@ async def gather_with_limited_concurrency(
return await task
return await gather(
*(sem_task(task) for task in tasks), return_exceptions=return_exceptions
*(create_eager_task(sem_task(task)) for task in tasks),
return_exceptions=return_exceptions,
)