hatchet-sdk 1.10.2__py3-none-any.whl → 1.10.3__py3-none-any.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 hatchet-sdk might be problematic. Click here for more details.
- hatchet_sdk/worker/action_listener_process.py +2 -4
- {hatchet_sdk-1.10.2.dist-info → hatchet_sdk-1.10.3.dist-info}/METADATA +1 -1
- {hatchet_sdk-1.10.2.dist-info → hatchet_sdk-1.10.3.dist-info}/RECORD +5 -5
- {hatchet_sdk-1.10.2.dist-info → hatchet_sdk-1.10.3.dist-info}/WHEEL +0 -0
- {hatchet_sdk-1.10.2.dist-info → hatchet_sdk-1.10.3.dist-info}/entry_points.txt +0 -0
|
@@ -44,10 +44,7 @@ class ActionEvent:
|
|
|
44
44
|
STOP_LOOP_TYPE = Literal["STOP_LOOP"]
|
|
45
45
|
STOP_LOOP: STOP_LOOP_TYPE = "STOP_LOOP" # Sentinel object to stop the loop
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
BLOCKED_THREAD_WARNING = (
|
|
49
|
-
"THE TIME TO START THE STEP RUN IS TOO LONG, THE MAIN THREAD MAY BE BLOCKED"
|
|
50
|
-
)
|
|
47
|
+
BLOCKED_THREAD_WARNING = "THE TIME TO START THE TASK RUN IS TOO LONG, THE EVENT LOOP MAY BE BLOCKED. See https://docs.hatchet.run/blog/warning-event-loop-blocked for details and debugging help."
|
|
51
48
|
|
|
52
49
|
|
|
53
50
|
class WorkerActionListenerProcess:
|
|
@@ -160,6 +157,7 @@ class WorkerActionListenerProcess:
|
|
|
160
157
|
|
|
161
158
|
if count > 0:
|
|
162
159
|
logger.warning(f"{BLOCKED_THREAD_WARNING}: Waiting Steps {count}")
|
|
160
|
+
print(asyncio.current_task())
|
|
163
161
|
await asyncio.sleep(1)
|
|
164
162
|
|
|
165
163
|
async def send_event(self, event: ActionEvent, retry_attempt: int = 1) -> None:
|
|
@@ -512,13 +512,13 @@ hatchet_sdk/v0/workflow.py,sha256=d4o425efk7J3JgLIge34MW_A3pzwnwSRtwEOgIqM2pc,93
|
|
|
512
512
|
hatchet_sdk/v0/workflow_run.py,sha256=jsEZprXshrSV7i_TtL5uoCL03D18zQ3NeJCq7mp97Dg,1752
|
|
513
513
|
hatchet_sdk/waits.py,sha256=L2xZUcmrQX-pTVXWv1W8suMoYU_eA0uowpollauQmOM,3893
|
|
514
514
|
hatchet_sdk/worker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
515
|
-
hatchet_sdk/worker/action_listener_process.py,sha256=
|
|
515
|
+
hatchet_sdk/worker/action_listener_process.py,sha256=vGtiCqsHf82nU1_2NqgXPY2ZIwFqWcuZeeTkYG3rRTs,11977
|
|
516
516
|
hatchet_sdk/worker/runner/run_loop_manager.py,sha256=E3KD1r0-BBKUWlZJMDo9e2HHl4uAyvL8gX42-JCRLLc,3794
|
|
517
517
|
hatchet_sdk/worker/runner/runner.py,sha256=9Z3Ac6hRh5rjet7-BRtpcFARlhWvy6TNrdsdj61k_yk,18822
|
|
518
518
|
hatchet_sdk/worker/runner/utils/capture_logs.py,sha256=nHRPSiDBqzhObM7i2X7t03OupVFnE7kQBdR2Ckgg-2w,2709
|
|
519
519
|
hatchet_sdk/worker/worker.py,sha256=SAucu3dg8lkKLbzb3noNWvClZ09lC5tuRcBkYZtIJ-0,16088
|
|
520
520
|
hatchet_sdk/workflow_run.py,sha256=ZwH0HLFGFVXz6jbiqSv4w0Om2XuR52Tzzw6LH4y65jQ,2765
|
|
521
|
-
hatchet_sdk-1.10.
|
|
522
|
-
hatchet_sdk-1.10.
|
|
523
|
-
hatchet_sdk-1.10.
|
|
524
|
-
hatchet_sdk-1.10.
|
|
521
|
+
hatchet_sdk-1.10.3.dist-info/METADATA,sha256=TZy35hFsmAvfeZPhWU2MykwjtQv_pcNcFHmVh0YlZs4,3636
|
|
522
|
+
hatchet_sdk-1.10.3.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
523
|
+
hatchet_sdk-1.10.3.dist-info/entry_points.txt,sha256=Un_76pcLse-ZGBlwebhQpnTPyQrripeHW8J7qmEpGOk,1400
|
|
524
|
+
hatchet_sdk-1.10.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|