mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2025-12-06 03:46:44 +03:00
Prepare for aiohttp 3.11
This commit is contained in:
@@ -167,7 +167,7 @@ def main(config, debug):
|
||||
if debug:
|
||||
loop.set_debug(True)
|
||||
asyncio.set_event_loop(loop)
|
||||
tcp_connector = aiohttp.TCPConnector(ttl_dns_cache=300)
|
||||
tcp_connector = aiohttp.TCPConnector(loop=loop, ttl_dns_cache=300)
|
||||
web_session = aiohttp.ClientSession(loop=loop, connector=tcp_connector)
|
||||
api_helper = api_helpers.ApiHelper(config, web_session)
|
||||
for i in config.devices:
|
||||
|
||||
Reference in New Issue
Block a user