1
This commit is contained in:
parent
9340bf8e58
commit
14d1ab3f0a
@ -34,6 +34,7 @@ class Transmitter:
|
|||||||
yield tb, buffer
|
yield tb, buffer
|
||||||
if self.ping_ts + 60 < ts:
|
if self.ping_ts + 60 < ts:
|
||||||
# 保持连接
|
# 保持连接
|
||||||
|
self.ping_ts = ts
|
||||||
print('保持连接')
|
print('保持连接')
|
||||||
self.db_client.execute('select 1')
|
self.db_client.execute('select 1')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user