ntfy[xmpp] request to give up on timeouts
- Dominant language
- Python
- Stars
- 5k
- Forks
- 216
- PR merge metrics
- No merged PRs in 30d
Description
XMPP service jit.si is down ATM so my notifications can't be sent. However, ntfy[xmpp] tries over and over to make a connection:
```
ERROR: Could not connect to [2001:41d0:a:1c2c::17]:5222. Socket Error #65: No route to host
ERROR: Socket Error #54: Connection reset by peer
ERROR: Could not connect to [2001:41d0:a:1c2c::17]:5222. Socket Error #65: No route to host
ERROR: Error reading from XML stream.
ERROR: Could not connect to [2001:41d0:a:1c2c::17]:5222. Socket Error #65: No route to host
ERROR: Socket Error #54: Connection reset by peer
ERROR: Could not connect to [2001:41d0:a:1c2c::17]:5222. Socket Error #65: No route to host
ERROR: Socket Error #54: Connection reset by peer
ERROR: Could not connect to [2001:41d0:a:1c2c::17]:5222. Socket Error #65: No route to host
ERROR: Error reading from XML stream.
ERROR: Could not connect to [2001:41d0:a:1c2c::17]:5222. Socket Error #65: No route to host
ERROR: Socket Error #54: Connection reset by peer
ERROR: Could not connect to [2001:41d0:a:1c2c::17]:5222. Socket Error #65: No route to host
```
Could it be made to quit trying to connect after 60 to 120 seconds?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.