mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2026-05-12 02:58:24 -04:00
Fix deprecated use of shutdown_timeout kwarg in TCPSite (#6743)
This commit is contained in:
@@ -97,9 +97,6 @@ class RPC:
|
|||||||
self._runner,
|
self._runner,
|
||||||
host="127.0.0.1",
|
host="127.0.0.1",
|
||||||
port=port,
|
port=port,
|
||||||
shutdown_timeout=120
|
|
||||||
# Give the RPC server 2 minutes to finish up, else slap it!
|
|
||||||
# Seems like a reasonable time. See Red#6391
|
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
|
|||||||
Reference in New Issue
Block a user