worker-automate-hub 0.5.732__py3-none-any.whl → 0.5.733__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.
@@ -54,7 +54,14 @@ async def check_and_execute_tasks(stop_event: threading.Event):
54
54
  if task is not None:
55
55
  processo_existe = await is_uuid_in_tasks(task.uuidProcesso)
56
56
  if processo_existe:
57
- await burn_queue(task.uuidFila)
57
+ i = 0
58
+ while i < 5:
59
+ try:
60
+ await burn_queue(task.uuidFila)
61
+ break
62
+ except:
63
+ i += 1
64
+ pass
58
65
  logger.info(f"Executando a task: {task.nomProcesso}")
59
66
  await perform_task(task)
60
67
  else:
@@ -75,7 +82,14 @@ async def check_and_execute_tasks(stop_event: threading.Event):
75
82
  ),
76
83
  )
77
84
  # Libera o registro da fila e informa o chat
78
- await burn_queue(task.uuidFila)
85
+ i = 0
86
+ while i < 5:
87
+ try:
88
+ await burn_queue(task.uuidFila)
89
+ break
90
+ except:
91
+ i += 1
92
+ pass
79
93
  await send_gchat_message(log_message)
80
94
  except Exception as e:
81
95
  console.print(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.732
3
+ Version: 0.5.733
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=C5sEoG8x7H5zaUM_bqSvVrdxWonSJcfBF_kU9kn7PA0,207508
99
99
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=qS_REFGudeZhoOkamUst8WzW1XyMGws5GehrMr5XZTM,38085
100
- worker_automate_hub/worker.py,sha256=4s67gspi7Bdj862zYXq99vQgXVE9CSyyU9Nzd0DqgzU,6580
101
- worker_automate_hub-0.5.732.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
- worker_automate_hub-0.5.732.dist-info/METADATA,sha256=3wPlkwOqQUtHPPwrNgbawSe3dRR1woV9XTUoWBbHJRc,3049
103
- worker_automate_hub-0.5.732.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
- worker_automate_hub-0.5.732.dist-info/RECORD,,
100
+ worker_automate_hub/worker.py,sha256=VWGH6kYq1s6UplQ343C-i6vD1Tum7I9BvlGpBERlxsg,7082
101
+ worker_automate_hub-0.5.733.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
+ worker_automate_hub-0.5.733.dist-info/METADATA,sha256=xOgYe5ZwG7VPyl8AS_rzYhQjGCEv3P5ktB6sGbMmxPs,3049
103
+ worker_automate_hub-0.5.733.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
+ worker_automate_hub-0.5.733.dist-info/RECORD,,