Decrease heartbeat interval so that people can stop complaining about it not working on heroku

This commit is contained in:
cloudwithax 2021-11-22 15:00:03 -05:00
parent d5838829c4
commit c3135b7798
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ class Node:
try: try:
self._websocket = await self._session.ws_connect( self._websocket = await self._session.ws_connect(
self._websocket_uri, headers=self._headers, heartbeat=60 self._websocket_uri, headers=self._headers, heartbeat=30
) )
self._task = self._bot.loop.create_task(self._listen()) self._task = self._bot.loop.create_task(self._listen())
self._available = True self._available = True