REPOSITORY / ScuroNeko/Laniakea
Releases
-
released this
2026-07-08 12:02:38 +03:00 | 5 commits to dev since this releasev1.0.2
Fixed
- Fixed long-polling stopping permanently when the HTTP client's internal timeout fired. The polling loop was checking
errors.Is(err, context.DeadlineExceeded), which matched HTTP client timeout errors (*url.Errorwrapscontext.DeadlineExceeded), causing the goroutine to exit as if the bot context was canceled. The check is nowctx.Err() != nilso only a real context cancellation stops polling. - Fixed the HTTP client timeout (45 s) being too close to the long-poll
getUpdatestimeout (30 s default), leaving insufficient margin for connection setup and response transfer. The client timeout is now derived from the configuredPollTimeoutplus a 60-second buffer.
What's Changed
Full Changelog: v1.0.1...v1.0.2
Downloads
- Fixed long-polling stopping permanently when the HTTP client's internal timeout fired. The polling loop was checking