Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update pyperformance/data-files/benchmarks/bm_async_tree/run_benchmar…
…k.py
  • Loading branch information
kumaraditya303 authored May 9, 2023
commit f09f5c1b25c859cd66390ceb34b4df05ff8a123d
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async def run(self):

class EagerMixin:
async def run(self):
loop = asyncio.get_event_loop()
loop = asyncio.get_running_loop()
if hasattr(asyncio, 'eager_task_factory'):
loop.set_task_factory(asyncio.eager_task_factory)
return await super().run()
Expand Down