Add 1 second buffer to API v2 streaming timeout
authorHarmon <Harmon758@gmail.com>
Sat, 29 Oct 2022 01:39:11 +0000 (20:39 -0500)
committerHarmon <Harmon758@gmail.com>
Sat, 29 Oct 2022 01:39:11 +0000 (20:39 -0500)
commit51a5d61bfd6699ab844449698b34befd6a170857
treeb764a53e0163c9f1fbf8ae1fb3f3cbf1b398d3ef
parent0ccfe86175d83ea89b20ff00ef6f420423fde347
Add 1 second buffer to API v2 streaming timeout

The keep-alive is often received after marginally longer than 20 seconds, causing unnecessary timeouts and reconnects with a timeout of exactly 20 seconds
tweepy/asynchronous/streaming.py
tweepy/streaming.py