worker-automate-hub 0.5.725__py3-none-any.whl → 0.5.727__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.
- worker_automate_hub/utils/util.py +1 -1
- worker_automate_hub/worker.py +3 -2
- {worker_automate_hub-0.5.725.dist-info → worker_automate_hub-0.5.727.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.725.dist-info → worker_automate_hub-0.5.727.dist-info}/RECORD +6 -6
- {worker_automate_hub-0.5.725.dist-info → worker_automate_hub-0.5.727.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.725.dist-info → worker_automate_hub-0.5.727.dist-info}/entry_points.txt +0 -0
@@ -3442,7 +3442,7 @@ async def check_nota_importada(xml_nota: str) -> RpaRetornoProcessoDTO:
|
|
3442
3442
|
break
|
3443
3443
|
else:
|
3444
3444
|
console.print(f"Aguardando confirmação de nota incluida...\n")
|
3445
|
-
await worker_sleep(
|
3445
|
+
await worker_sleep(8)
|
3446
3446
|
i += 1
|
3447
3447
|
try:
|
3448
3448
|
status_nf_emsys = await get_status_nf_emsys(int(xml_nota))
|
worker_automate_hub/worker.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import asyncio
|
2
2
|
import os
|
3
3
|
import threading
|
4
|
+
import random
|
4
5
|
from pathlib import Path
|
5
6
|
|
6
7
|
import pyfiglet
|
@@ -88,10 +89,10 @@ async def check_and_execute_tasks(stop_event: threading.Event):
|
|
88
89
|
url_retorno, RpaHistoricoStatusEnum.Descartado, log_message
|
89
90
|
)
|
90
91
|
else:
|
91
|
-
await asyncio.sleep(5)
|
92
|
+
await asyncio.sleep(random.randint(5, 10))
|
92
93
|
except Exception as e:
|
93
94
|
logger.error(f"Ocorreu um erro de execução: {e}")
|
94
|
-
await asyncio.sleep(5)
|
95
|
+
await asyncio.sleep(random.randint(5, 10))
|
95
96
|
|
96
97
|
|
97
98
|
async def notify_alive(stop_event: threading.Event):
|
@@ -95,10 +95,10 @@ worker_automate_hub/utils/get_creds_gworkspace.py,sha256=ZJ0IIEjM4IXIV9rwfbOZ1V1
|
|
95
95
|
worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1rzT_xs,671
|
96
96
|
worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
|
97
97
|
worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
|
98
|
-
worker_automate_hub/utils/util.py,sha256=
|
98
|
+
worker_automate_hub/utils/util.py,sha256=WhQzg3QFmXQESJJ_ZwacmIumwK1xTRSwDp2fAvkVg7w,207509
|
99
99
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=qS_REFGudeZhoOkamUst8WzW1XyMGws5GehrMr5XZTM,38085
|
100
|
-
worker_automate_hub/worker.py,sha256=
|
101
|
-
worker_automate_hub-0.5.
|
102
|
-
worker_automate_hub-0.5.
|
103
|
-
worker_automate_hub-0.5.
|
104
|
-
worker_automate_hub-0.5.
|
100
|
+
worker_automate_hub/worker.py,sha256=32rTN_vyZj6Z-JnHnZVlsQT4fOfymL4_SW6wb4Zx-sI,6580
|
101
|
+
worker_automate_hub-0.5.727.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
102
|
+
worker_automate_hub-0.5.727.dist-info/METADATA,sha256=BlOMPw3luPINQlV-9VWHG4GwuXFDoELBdDQroXcr9qg,3049
|
103
|
+
worker_automate_hub-0.5.727.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
104
|
+
worker_automate_hub-0.5.727.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.5.725.dist-info → worker_automate_hub-0.5.727.dist-info}/entry_points.txt
RENAMED
File without changes
|