Wow, thanks for all the tips, folks! I tried switching to `httpx` like someone suggested, and it’s been a game-changer for my python http request to send request with long poll setup.
Also, the logging tip with `structlog` is gold—already caught a few issues I wouldn’t have noticed otherwise.
Quick question though: anyone have experience with handling rate limits in long polling? I’m hitting some API limits and not sure if I should back off or just retry immediately. Thoughts?
Also, the logging tip with `structlog` is gold—already caught a few issues I wouldn’t have noticed otherwise.
Quick question though: anyone have experience with handling rate limits in long polling? I’m hitting some API limits and not sure if I should back off or just retry immediately. Thoughts?
