Skip to content

feat: increase timeouts for ALB and text generation #70

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

Merged
merged 3 commits into from
May 1, 2025

Conversation

remote-swe-user
Copy link
Contributor

@remote-swe-user remote-swe-user commented May 1, 2025

Changes

  1. Increased ALB idle timeout from default 60s to 600s

    • Added idleTimeout: Duration.seconds(600) to ALB configuration
  2. Added TEXT_GENERATION_TIMEOUT_MS environment variable to Dify containers

    • Set TEXT_GENERATION_TIMEOUT_MS: '600000' in both API and plugin-daemon containers

These changes prevent timeouts when processing long-running LLM requests.

@tmokmss tmokmss merged commit f07f346 into aws-samples:main May 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants