| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@copilot resolve the merge conflicts in this pull request |
Sorry, something went wrong.
- Add optional receive_timeout parameter to Connection.__init__ - Implement timeout handling in _receive_loop using asyncio.wait_for - Raise RequestError.internal_error on timeout for graceful error handling This allows users to configure a timeout for receiving messages from agents, preventing indefinite hangs when an agent becomes unresponsive.
|
lgtm, thanks |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Adds receive_timeout parameter to Connection class to prevent indefinite hangs when agents become unresponsive.
Related issues
None
Testing
Ran the following checks:
Output:
make testOutput:
Docs & screenshots
No documentation updates included in this PR. The parameter is optional and defaults to None, preserving existing behavior. Documentation can be added in a follow-up PR if needed.
Checklist