xoscar 0.4.2__cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl → 0.4.3__cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of xoscar might be problematic. Click here for more details.
xoscar/backends/core.py
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
from __future__ import annotations
|
|
17
17
|
|
|
18
18
|
import asyncio
|
|
19
|
+
import atexit
|
|
19
20
|
import copy
|
|
20
21
|
import logging
|
|
21
22
|
import threading
|
|
@@ -216,6 +217,7 @@ class ActorCaller:
|
|
|
216
217
|
_close_loop = asyncio.new_event_loop()
|
|
217
218
|
_close_thread = threading.Thread(target=_close_loop.run_forever, daemon=True)
|
|
218
219
|
_close_thread.start()
|
|
220
|
+
atexit.register(_close_loop.call_soon_threadsafe, _close_loop.stop)
|
|
219
221
|
|
|
220
222
|
def __init__(self):
|
|
221
223
|
self._thread_local = threading.local()
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
xoscar-0.4.
|
|
2
|
-
xoscar-0.4.
|
|
3
|
-
xoscar-0.4.
|
|
4
|
-
xoscar-0.4.
|
|
1
|
+
xoscar-0.4.3.dist-info/top_level.txt,sha256=vYlqqY4Nys8Thm1hePIuUv8eQePdULVWMmt7lXtX_ZA,21
|
|
2
|
+
xoscar-0.4.3.dist-info/RECORD,,
|
|
3
|
+
xoscar-0.4.3.dist-info/METADATA,sha256=yjX43U8k5yWIL-iE4YJTgASXov3hTrVzs09TiBakmk4,9042
|
|
4
|
+
xoscar-0.4.3.dist-info/WHEEL,sha256=SqeGUsDS88JbDMFEmg5kozXLxkaYruG6PG7xezonLcQ,154
|
|
5
5
|
xoscar/errors.py,sha256=wBlQOKsXf0Fc4skN39tDie0YZT-VIAuLNRgoDl2pZcA,1241
|
|
6
6
|
xoscar/nvutils.py,sha256=qmW4mKLU0WB2yCs198ccQOgLL02zB7Fsa-AotO3NOmg,20412
|
|
7
7
|
xoscar/_utils.cpython-311-aarch64-linux-gnu.so,sha256=yzn9lSQ1EHXcHiT1wXKGrui5iTzI_vGCPzUr_KHVl-8,1184152
|
|
@@ -41,7 +41,7 @@ xoscar/metrics/backends/console/__init__.py,sha256=h_JgzSqV5lP6vQ6XX_17kE4IY4BRn
|
|
|
41
41
|
xoscar/backends/message.cpython-311-aarch64-linux-gnu.so,sha256=lt_oLpUoMjbhL5wGgrVSKvvdIMOXQaG3hx02f9Nazi8,3608528
|
|
42
42
|
xoscar/backends/context.py,sha256=Vr_PibRxYCDQ_gYK7r-BOlw9TXw8VQbFsVTH7K7mHPk,15470
|
|
43
43
|
xoscar/backends/__init__.py,sha256=VHEBQcUWM5bj027W8EUf9PiJUAP7JoMrRw3Tsvy5ySw,643
|
|
44
|
-
xoscar/backends/core.py,sha256=
|
|
44
|
+
xoscar/backends/core.py,sha256=YpFOwjD45Hrdv7zk_SELCC-Ni38aYsWTLigowenwjig,9380
|
|
45
45
|
xoscar/backends/allocate_strategy.py,sha256=tC1Nbq2tJohahUwd-zoRYHEDX65wyuX8tmeY45uWj_w,4845
|
|
46
46
|
xoscar/backends/pool.py,sha256=Z7Wdab9dBF3SdQpmzgZhY0d09oTvg5gpFgzYH7vuc4w,59841
|
|
47
47
|
xoscar/backends/router.py,sha256=mhSvM5KVfV882jricVcpyxAqHEvhS4zL6ivczC6fOTE,7746
|
|
File without changes
|
|
File without changes
|