mirror of
https://github.com/langgenius/dify.git
synced 2026-02-25 02:35:12 +00:00
Some checks failed
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Has been cancelled
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Has been cancelled
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Has been cancelled
11 lines
389 B
Python
11 lines
389 B
Python
"""
|
|
Constants for virtual environment providers.
|
|
|
|
Centralizes timeout and other configuration values used across different sandbox providers
|
|
(E2B, SSH, Docker) to ensure consistency and ease of maintenance.
|
|
"""
|
|
|
|
# Command execution timeout in seconds (5 hours)
|
|
# Used by providers to limit how long a single command can run
|
|
COMMAND_EXECUTION_TIMEOUT_SECONDS = 5 * 60 * 60 # 18000 seconds
|