WORKFLOW_MAX_EXECUTION_TIME no longer takes effect after upgrading to v1.16.0, workflow forcibly interrupted at 1200s
- Dominant language
- TypeScript
- Stars
- 156k
- Forks
- 24.6k
- Avg merge
- 20h 50m
- Merged PRs (30d)
- 586
Description
### Self Checks
- [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542).
- [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general).
- [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones.
- [x] I confirm that I am using English to submit this report, otherwise it will be closed.
- [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
- [x] Please do not modify this template :) and fill in all the required fields.
### Dify version
v1.16.0
### Cloud or Self Hosted
Self Hosted (Docker)
### Steps to reproduce
### ✔️ Expected Behavior
The environment variable WORKFLOW_MAX_EXECUTION_TIME should be respected to control the maximum execution duration of workflows. For example, if set to 3600 seconds, workflows should be allowed to run up to that limit without being interrupted prematurely.
### ❌ Actual Behavior
After upgrading to v1.16.0, WORKFLOW_MAX_EXECUTION_TIME is ignored. Workflows are now forcibly interrupted exactly at 1200 seconds (20 minutes) regardless of the configured value. No alternative variable or configuration method has been found to extend this limit.
Contributor guide
Research direction
Start by searching the repository for WORKFLOW_MAX_EXECUTION_TIME and for the 1200-second limit, then trace how workflow execution limits are configured in the self-hosted Docker setup. Compare the v1.16.0 behavior with the expected configured value; done means a workflow can run up to the configured limit instead of being interrupted at 1200 seconds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100