diff --git a/mmpy_bot/bot.py b/mmpy_bot/bot.py index b78e3a62..fcba7001 100644 --- a/mmpy_bot/bot.py +++ b/mmpy_bot/bot.py @@ -49,6 +49,8 @@ def __init__( "token": self.settings.BOT_TOKEN, "scheme": self.settings.SCHEME, "verify": self.settings.SSL_VERIFY, + "keepalive": True, + "connect_kw_args": {"ping_interval": None}, } ) self.driver.login() diff --git a/requirements.txt b/requirements.txt index 6eb97fd6..4665969f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiohttp>=3.7.4.post0 click>=7.0 -mattermostdriver>=7.2.0 +mattermostdriver>=7.3.0 schedule>=0.6.0 -Sphinx>=1.3.3 +Sphinx>=1.3.3 \ No newline at end of file