mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-23 08:04:20 +01:00
summary: logs PeerThred activity to debug
This will eliminate a potential flakyness of the tests because we can use that log as a marker to wait for the PeerThread.
This commit is contained in:
@@ -46,6 +46,7 @@ class PeerThread(threading.Thread):
|
||||
rpcpeers = plugin.rpc.listpeers()
|
||||
trace_availability(plugin, rpcpeers)
|
||||
plugin.persist.sync()
|
||||
plugin.log("[PeerThread] Peerstate availability persisted and synced. Sleeping now..." , 'debug')
|
||||
time.sleep(plugin.avail_interval)
|
||||
except Exception as ex:
|
||||
plugin.log("[PeerThread] " + str(ex), 'warn')
|
||||
|
||||
Reference in New Issue
Block a user