vellum-workflow-server 1.6.3__py3-none-any.whl → 1.6.4__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 vellum-workflow-server might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-workflow-server
3
- Version: 1.6.3
3
+ Version: 1.6.4
4
4
  Summary:
5
5
  License: AGPL
6
6
  Requires-Python: >=3.9.0,<4
@@ -29,7 +29,7 @@ Requires-Dist: pyjwt (==2.10.0)
29
29
  Requires-Dist: python-dotenv (==1.0.1)
30
30
  Requires-Dist: retrying (==1.3.4)
31
31
  Requires-Dist: sentry-sdk[flask] (==2.20.0)
32
- Requires-Dist: vellum-ai (==1.6.3)
32
+ Requires-Dist: vellum-ai (==1.6.4)
33
33
  Description-Content-Type: text/markdown
34
34
 
35
35
  # Vellum Workflow Runner Server
@@ -16,7 +16,7 @@ workflow_server/core/executor.py,sha256=Bw6luelJs84-_fBIG9VvxYFxeha4DmwxDpslVeqr
16
16
  workflow_server/core/utils.py,sha256=si0NB4Suurc-mn8NYdn59xM9CkPrfOP1aWEVrZvifDI,1929
17
17
  workflow_server/core/workflow_executor_context.py,sha256=u6tK6YgKlMrFXEYNBgWF1FMJ9NmN9HgOsPvptoA4b_c,4517
18
18
  workflow_server/server.py,sha256=QBU12AaAfAgLqfCDBd24qIJl_mbheiq0-hfcWV7rZM4,1234
19
- workflow_server/start.py,sha256=9mhcSy3dGyv_cEs3rtJZ4ZjPStdQJd6SzE0cQb043fo,2342
19
+ workflow_server/start.py,sha256=dsGg9998nki_avrow3m_bRnqSTp90wlrEsdjoP0SbrQ,2356
20
20
  workflow_server/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  workflow_server/utils/exit_handler.py,sha256=_FacDVi4zc3bfTA3D2mJsISePlJ8jpLrnGVo5-xZQFs,743
22
22
  workflow_server/utils/log_proxy.py,sha256=nugi6fOgAYKX2X9DIc39TG366rsmmDUPoEtG3gzma_Y,3088
@@ -28,7 +28,7 @@ workflow_server/utils/tests/test_sentry_integration.py,sha256=LGmWiaLhFrx-jslrRj
28
28
  workflow_server/utils/tests/test_system_utils.py,sha256=_4GwXvVvU5BrATxUEWwQIPg0bzQXMWBtiBmjP8MTxJM,4314
29
29
  workflow_server/utils/tests/test_utils.py,sha256=0Nq6du8o-iBtTrip9_wgHES53JSiJbVdSXaBnPobw3s,6930
30
30
  workflow_server/utils/utils.py,sha256=ZPoM1Suhid22dpB8oEFLux8wx-9iyzmSfWuYxSCrgWk,4774
31
- vellum_workflow_server-1.6.3.dist-info/METADATA,sha256=C5XyW_AKAoK35PsbEav8xOZ1D3-H0OyMS6LjUpZGpAE,2267
32
- vellum_workflow_server-1.6.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
33
- vellum_workflow_server-1.6.3.dist-info/entry_points.txt,sha256=uB_0yPkr7YV6RhEXzvFReUM8P4OQBlVXD6TN6eb9-oc,277
34
- vellum_workflow_server-1.6.3.dist-info/RECORD,,
31
+ vellum_workflow_server-1.6.4.dist-info/METADATA,sha256=kHt8gHgq8Sb30IZ1kYhn_g6bDX-ZJ7VXtgkApq_ETm8,2267
32
+ vellum_workflow_server-1.6.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
33
+ vellum_workflow_server-1.6.4.dist-info/entry_points.txt,sha256=uB_0yPkr7YV6RhEXzvFReUM8P4OQBlVXD6TN6eb9-oc,277
34
+ vellum_workflow_server-1.6.4.dist-info/RECORD,,
workflow_server/start.py CHANGED
@@ -44,6 +44,8 @@ def start() -> None:
44
44
  start_oom_killer_worker()
45
45
  init_signal_handlers()
46
46
 
47
+ max_workflow_runtime_seconds = int(os.getenv("GUNICORN_TIMEOUT", os.getenv("REVISION_TIMEOUT_SECONDS", 1800)))
48
+
47
49
  # gevent didn't play nice with pebble and processes so just gthread here
48
50
  options = {
49
51
  "bind": f"0.0.0.0:{PORT}",
@@ -53,10 +55,10 @@ def start() -> None:
53
55
  "max_requests": 120 if ENABLE_PROCESS_WRAPPER else 20,
54
56
  "max_requests_jitter": 30 if ENABLE_PROCESS_WRAPPER else 10,
55
57
  "worker_class": "gthread",
56
- "timeout": int(os.getenv("GUNICORN_TIMEOUT", os.getenv("REVISION_TIMEOUT_SECONDS", 1800))),
58
+ "timeout": max_workflow_runtime_seconds,
57
59
  "logger_class": CustomGunicornLogger,
58
60
  "accesslog": "-",
59
61
  "on_exit": gunicorn_exit_handler,
60
- "graceful_timeout": int(os.getenv("GUNICORN_TIMEOUT", os.getenv("REVISION_TIMEOUT_SECONDS", 1800))),
62
+ "graceful_timeout": max_workflow_runtime_seconds,
61
63
  }
62
64
  StandaloneApplication(app, options).run()