Commit e610e8b
committed
fix(worker): use new event loop for Python 3.14+
Switches to asyncio.new_event_loop() for Python 3.14 and above, as
asyncio.get_event_loop() is deprecated. Maintains compatibility with
older Python versions by conditionally selecting the event loop method.
Incorporated fix from python-arq#509 by https://github.com/a3lme1 parent fda407c commit e610e8b
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
267 | 268 | | |
268 | 269 | | |
269 | 270 | | |
270 | | - | |
| 271 | + | |
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
| |||
0 commit comments