This commit is contained in:
wuaho 2021-08-14 09:26:23 +08:00
parent 9340bf8e58
commit 14d1ab3f0a

View File

@ -34,6 +34,7 @@ class Transmitter:
yield tb, buffer
if self.ping_ts + 60 < ts:
# 保持连接
self.ping_ts = ts
print('保持连接')
self.db_client.execute('select 1')