worker-automate-hub 0.5.726__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.
@@ -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):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.726
3
+ Version: 0.5.727
4
4
  Summary: Worker Automate HUB é uma aplicação para automatizar rotinas de RPA nos ambientes Argenta.
5
5
  Author: Joel Paim
6
6
  Requires-Python: >=3.12,<4.0
@@ -97,8 +97,8 @@ worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg
97
97
  worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
98
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=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
101
- worker_automate_hub-0.5.726.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
- worker_automate_hub-0.5.726.dist-info/METADATA,sha256=M01Vy_i0XEz2-HTw_9zgwI5SiDqutVzh-z-ghuwGM1k,3049
103
- worker_automate_hub-0.5.726.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
- worker_automate_hub-0.5.726.dist-info/RECORD,,
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,,