mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Add DNS cache ttl setting to aiohttp session. (#1514)
* Add DNS cache ttl setting to aiohttp session. Also the limit argument is added to the session initializer. This commit adds a setting for DNS cache ttl (time-to-live) to the aiohttp session configuration. This is implemented as a workaround for a known issue in aiogram as exhibited in aiogram/aiogram#1500. * Added changelog
This commit is contained in:
parent
835813ca2e
commit
dcfc9632f3
2 changed files with 14 additions and 3 deletions
1
CHANGES/1500.bugfix.rst
Normal file
1
CHANGES/1500.bugfix.rst
Normal file
|
|
@ -0,0 +1 @@
|
|||
Increased DNS cache ttl setting to aiohttp session as a workaround for DNS resolution issues in aiohttp.
|
||||
Loading…
Add table
Add a link
Reference in a new issue