Skip to content

🐛 fix Telegram polling timeout#88

Open
shoucandanghehe wants to merge 6 commits into
nonebot:betafrom
shoucandanghehe:fix/issue-87-polling-timeout
Open

🐛 fix Telegram polling timeout#88
shoucandanghehe wants to merge 6 commits into
nonebot:betafrom
shoucandanghehe:fix/issue-87-polling-timeout

Conversation

@shoucandanghehe

@shoucandanghehe shoucandanghehe commented Jun 4, 2026

Copy link
Copy Markdown
Member

Summary

  • Set a longer HTTP read timeout for getUpdates long polling requests.
  • Preserve the HTTP-relevant driver default total/connect timeout values.
  • Bump the minimum NoneBot2 version to 2.5.0 and align CI with its Python 3.10+ requirement.

Fixes #87

Tests

  • pdm lock --check
  • pdm run ruff check .
  • pdm run pyright
  • pdm run pytest tests/test_bot.py tests/test_event.py -q

@shoucandanghehe shoucandanghehe left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

getUpdates 长轮询在 NoneBot2 v2.5.0 下容易触发 30s read timeout

1 participant