From b1061ae1032717e9b09e5cf884a9669832530c51 Mon Sep 17 00:00:00 2001 From: John Smith Date: Tue, 17 Sep 2019 23:08:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0blivedm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blivedm | 2 +- views/chat.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blivedm b/blivedm index 9eb9537..22b159e 160000 --- a/blivedm +++ b/blivedm @@ -1 +1 @@ -Subproject commit 9eb953720c3386a90fd67040c06a75dc870e8d5b +Subproject commit 22b159e0cb3e4a5d715f21f7c9078ae7f54775b4 diff --git a/views/chat.py b/views/chat.py index d2bf117..ea74d4f 100644 --- a/views/chat.py +++ b/views/chat.py @@ -95,7 +95,7 @@ asyncio.ensure_future(_fetch_avatar_loop()) class Room(blivedm.BLiveClient): def __init__(self, room_id): - super().__init__(room_id, session=_http_session) + super().__init__(room_id, session=_http_session, heartbeat_interval=10) self.clients: List['ChatHandler'] = [] def stop_and_close(self):