Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export the parameter setting MAX_TREE_DEPTH in the .env file. #10983

Open
4 of 5 tasks
JackyMeow opened this issue Nov 22, 2024 · 1 comment
Open
4 of 5 tasks

export the parameter setting MAX_TREE_DEPTH in the .env file. #10983

JackyMeow opened this issue Nov 22, 2024 · 1 comment
Labels
🌊 feat:workflow Workflow related stuff. stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed

Comments

@JackyMeow
Copy link

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

When I attempt to refresh my workflow, I encounter an error message indicating that "the nodes exceed the limit of 50." According to the user FAQ, the recommended solution for the community edition is to manually adjust the MAX_TREE_DEPTH limit for single branch depth in the file web/app/components/workflow/constants.ts. The default setting is set at 50, and it's crucial to be aware that overly deep branches could negatively impact performance, especially in self-hosted environments.

However, this solution is not applicable in my case since my deployment is managed through Docker. Therefore, I am seeking guidance on how to configure the MAX_TREE_DEPTH parameter when utilizing Docker for deployment.

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
@dosubot dosubot bot added the 🌊 feat:workflow Workflow related stuff. label Nov 22, 2024
Copy link

dosubot bot commented Dec 23, 2024

Hi, @JackyMeow. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • Feature request to configure MAX_TREE_DEPTH via .env for Docker deployments.
  • Currently, the parameter is hardcoded in a TypeScript file.
  • Challenges arise due to node limits in Docker-managed environments.
  • No comments or developments have been made on this issue yet.

Next Steps:

  • Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting here.
  • If there is no further activity, this issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌊 feat:workflow Workflow related stuff. stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed
Projects
None yet
Development

No branches or pull requests

1 participant