-
Notifications
You must be signed in to change notification settings - Fork 12
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
add timeouts to connections, reading & writing sockets etc #116
Labels
bug
Something isn't working
Comments
|
the print(self.writer.transport.get_extra_info('socket').gettimeout())
0.0 From [1]; |
opened a new issue for this in #119 |
Merged
komuw
added a commit
that referenced
this issue
May 31, 2019
What: - Introduce a configurable timeout when trying to connect to SMSC - Try and detect when the connection to SMSC is disconnected and attempt to re-connect & re-bind - bugfix; `asyncio.streams.StreamWriter.drain` should not be called concurrently by multiple coroutines[1] - when shutting down, `naz` now tries to make sure that write buffers are properly flushed[2][3] Why: - Make `naz` more failure tolerant - Fixes: #67 - Fixes: #114 - Fixes: #116 - Fixes: #117 - Fixes: #120 References: 1. https://bugs.python.org/issue29930 2. https://vorpus.org/blog/some-thoughts-on-asynchronous-api-design-in-a-post-asyncawait-world/ 3. aio-libs/aiohttp#1369
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
check vumi timeouts and use those; https://buildmedia.readthedocs.org/media/pdf/vumi/latest/vumi.pdf
The text was updated successfully, but these errors were encountered: