scalable-pypeline 2.1.15__py2.py3-none-any.whl → 2.1.16__py2.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.
pypeline/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "2.1.15"
1
+ __version__ = "2.1.16"
@@ -27,9 +27,12 @@ def enable_graceful_shutdown(broker, redis_url):
27
27
 
28
28
  def shutdown_handler(signum, frame):
29
29
  logger.info(f"[Signal Handler] Received signal {signum}")
30
+ wait_counter = 0
30
31
  while r.get(busy_key):
31
- logger.info(f"[Signal Handler] Busy ({busy_key}), waiting...")
32
- time.sleep(30)
32
+ if wait_counter % 30 == 0: # Only log every 30 checks
33
+ logger.info(f"[Signal Handler] Busy ({busy_key}), waiting...")
34
+ time.sleep(1)
35
+ wait_counter += 1
33
36
  logger.info(f"[Signal Handler] Done. Exiting.")
34
37
  sys.exit(0)
35
38
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scalable-pypeline
3
- Version: 2.1.15
3
+ Version: 2.1.16
4
4
  Summary: PypeLine - Python pipelines for the Real World
5
5
  Home-page: https://gitlab.com/bravos2/pypeline
6
6
  Author: Bravos Power Corporation
@@ -33,7 +33,7 @@ Provides-Extra: workers
33
33
  Requires-Dist: networkx (>=2.4) ; extra == 'workers'
34
34
  Requires-Dist: dramatiq[rabbitmq] (==1.17.0) ; extra == 'workers'
35
35
  Requires-Dist: apscheduler (<4,>=3.10.4) ; extra == 'workers'
36
- Requires-Dist: tenacity (==9.1.2) ; extra == 'workers'
36
+ Requires-Dist: tenacity (==8.0.1) ; extra == 'workers'
37
37
 
38
38
  ```
39
39
  ______ __ ________ _____ _ _____ _ _ _____
@@ -1,4 +1,4 @@
1
- pypeline/__init__.py,sha256=844sXOr-u1RlesL29JDG0AmKKXDd3M8Kvx9gXhfWq7Y,23
1
+ pypeline/__init__.py,sha256=PUbyHN5ixal0BffZXLS2fU7ojPZOahFVrPT578Lb1Sg,23
2
2
  pypeline/barrier.py,sha256=oO964l9qOCOibweOHyNivmAvufdXOke9nz2tdgclouo,1172
3
3
  pypeline/constants.py,sha256=EGSuLq4KhZ4bxrbtnUgKclELRyya5ipvv0WeybCzNAs,3049
4
4
  pypeline/dramatiq.py,sha256=D-E6_oJc9he-F2rvze-DCq4eBVY3Hq7V0pSC5crHrrU,13703
@@ -26,14 +26,14 @@ pypeline/pipelines/middleware/pypeline_middleware.py,sha256=ciXZD2rLMCLGI9wP5zB8
26
26
  pypeline/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  pypeline/utils/config_utils.py,sha256=rAIATyoW7kGETZ_Z2DqiXtGd7bJp5uPfcLtfNPOYsNs,2167
28
28
  pypeline/utils/dramatiq_utils.py,sha256=DUdgVywm1182A4i69XzH9EIh1EJ9zAHmJLtOaVSW7pw,3844
29
- pypeline/utils/graceful_shutdown_util.py,sha256=d3p8ZQ9-xasd_H0YUA5ZsjCQ9PVliSO7_4c1OYzhx-Q,1156
29
+ pypeline/utils/graceful_shutdown_util.py,sha256=gdyf4r_vlunZZP-prcol_9aJQEG9Hk8evivVSe_H0N0,1293
30
30
  pypeline/utils/module_utils.py,sha256=-yEJIukDCoXnmlZVXB6Dww25tH6GdPE5SoFqv6pfdVU,3682
31
31
  pypeline/utils/pipeline_utils.py,sha256=kGP1QwCJikGC5QNRtzRXCDVewyRMpWIqERTNnxGLlSY,4795
32
32
  pypeline/utils/schema_utils.py,sha256=Fgl0y9Cuo_TZeEx_S3gaSVnLjn6467LTkjb2ek7Ms98,851
33
33
  tests/fixtures/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
- scalable_pypeline-2.1.15.dist-info/LICENSE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
35
- scalable_pypeline-2.1.15.dist-info/METADATA,sha256=J1HbXnGvUrENm3pN0ekb84MR3HqUhrGymagufPEN4mw,5982
36
- scalable_pypeline-2.1.15.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
37
- scalable_pypeline-2.1.15.dist-info/entry_points.txt,sha256=uWs10ODfHSBKo2Cx_QaUjPHQTpZ3e77j9VlAdRRmMyg,119
38
- scalable_pypeline-2.1.15.dist-info/top_level.txt,sha256=C7dpkEOc_-nnsAQb28BfQknjD6XHRyS9ZrvVeoIbV7s,15
39
- scalable_pypeline-2.1.15.dist-info/RECORD,,
34
+ scalable_pypeline-2.1.16.dist-info/LICENSE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
35
+ scalable_pypeline-2.1.16.dist-info/METADATA,sha256=nHdyiW06DjIJ2iTZQzj9ncVIxlZ0ZovdhthG3dOdFhI,5982
36
+ scalable_pypeline-2.1.16.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
37
+ scalable_pypeline-2.1.16.dist-info/entry_points.txt,sha256=uWs10ODfHSBKo2Cx_QaUjPHQTpZ3e77j9VlAdRRmMyg,119
38
+ scalable_pypeline-2.1.16.dist-info/top_level.txt,sha256=C7dpkEOc_-nnsAQb28BfQknjD6XHRyS9ZrvVeoIbV7s,15
39
+ scalable_pypeline-2.1.16.dist-info/RECORD,,