Skip to content

chore: adjust timeout setting#859

Merged
4pmtong merged 1 commit intomainfrom
timeout_fix
Jan 19, 2026
Merged

chore: adjust timeout setting#859
4pmtong merged 1 commit intomainfrom
timeout_fix

Conversation

@Wendong-Fan
Copy link
Copy Markdown
Contributor

Summary

  • Increase SSE and task timeout from 10 minutes to 30 minutes
  • Add proper error notifications when timeouts occur instead of silent disconnection

Changes

  • SSE timeout: Now sends error message to frontend before closing connection
  • Task timeout: Added new Action.timeout type to notify frontend when workforce task execution times out, including details
    about in-flight and pending tasks

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Comment on lines +532 to +534
try:
task_lock = get_task_lock(self.api_task_id)
timeout_minutes = self.task_timeout_seconds // 60
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Wendong-Fan I was just skimming through to make sure multi turn is not affected;
Was just dumbfounded here for a bit till I realized its a naming issue from my side:

@4pmtong 4pmtong merged commit fad6963 into main Jan 19, 2026
6 checks 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.

4 participants