mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-05 14:25:45 +00:00
some improvements
This commit is contained in:
parent
1837ba46af
commit
71065672a7
3 changed files with 15 additions and 1 deletions
|
|
@ -61,8 +61,11 @@ except Exception as e: # pragma: no cover
|
|||
from boswatch.utils.timer import RepeatedTimer
|
||||
from boswatch.network.netCheck import NetCheck
|
||||
net = NetCheck()
|
||||
test = RepeatedTimer(10, net.checkConn)
|
||||
test = RepeatedTimer(3, net.checkConn)
|
||||
test.start()
|
||||
time.sleep(10)
|
||||
print(net.connectionState)
|
||||
test.stop()
|
||||
|
||||
try:
|
||||
header.logoToLog()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue