Skip to content

Commit

Permalink
Add driver options to deal with websocket fixes (#181)
Browse files Browse the repository at this point in the history
* Add driver options to deal with websocket fixes
* Upping the driver version to the one which supports keepalive functionality
  • Loading branch information
attzonko authored Apr 9, 2021
1 parent 3408547 commit 8a237fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions mmpy_bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8a237fe

Please sign in to comment.