This commit is contained in:
wuaho 2021-08-14 00:35:19 +08:00
parent 3b3e900930
commit 199eb8dba7

View File

@ -33,6 +33,7 @@ class Transmitter:
yield tb, buffer
elif p['ts'] + p['time_out'] <= ts:
# 保持连接
print('保持连接')
self.db_client.execute('select 1')
@staticmethod