discord.py-self
discord.py-self copied to clipboard
Add default session timeout 3s.
Summary
Try to fix issue: #671, now bot starts faster.
General Info
- [x] If code changes were made then they have been tested.
- [ ] I have updated the documentation to reflect the changes.
- [x] This PR fixes an issue (please put issue # in summary).
- [ ] This PR adds something new (e.g. new method or parameters).
- [ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
- [ ] This PR is not a code change (e.g. documentation, README, ...)
@dolfies I have format file with black==22.6, please check it again.
Thanks for the PR! Unfortunately, there's an issue with aiohttp's default timeout implementation that causes conflicts with the library's cleanup process. I'll implement this myself in the TLS refactor.