Skip to content

Conversation

@yoavsraya
Copy link
Contributor

15 insted of 5

@yoavsraya yoavsraya self-assigned this Dec 25, 2025
Copilot AI review requested due to automatic review settings December 25, 2025 15:42
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new DEFAULT_SOCKET_TIMEOUT constant set to 15 seconds and applies it to both synchronous and asynchronous socket.io client initializations in the streaming client. The change increases the socket timeout from the python-socketio library's default (5 seconds) to 15 seconds.

  • Added DEFAULT_SOCKET_TIMEOUT = 15 constant to centralize socket timeout configuration
  • Applied the constant to both StreamConnection and AsyncStreamConnection classes via the request_timeout parameter

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
aiola/constants.py Introduces the DEFAULT_SOCKET_TIMEOUT constant with a value of 15 seconds
aiola/clients/stt/stream_client.py Imports and applies DEFAULT_SOCKET_TIMEOUT to both synchronous and asynchronous socketio client configurations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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