reduced initial block cleanup timer count
parent
a69cb17e47
commit
a5490b9f28
|
@ -164,7 +164,7 @@ class OnionrCommunicatorDaemon:
|
||||||
# Adjust initial timer triggers
|
# Adjust initial timer triggers
|
||||||
peerPoolTimer.count = (peerPoolTimer.frequency - 1)
|
peerPoolTimer.count = (peerPoolTimer.frequency - 1)
|
||||||
cleanupTimer.count = (cleanupTimer.frequency - 60)
|
cleanupTimer.count = (cleanupTimer.frequency - 60)
|
||||||
blockCleanupTimer.count = (blockCleanupTimer.frequency - 5)
|
blockCleanupTimer.count = (blockCleanupTimer.frequency - 2)
|
||||||
|
|
||||||
shared_state.add(self)
|
shared_state.add(self)
|
||||||
|
|
||||||
|
|
|
@ -51,10 +51,10 @@ class DirectConnectionManagement:
|
||||||
resp = "pending"
|
resp = "pending"
|
||||||
if pubkey in communicator.direct_connection_clients:
|
if pubkey in communicator.direct_connection_clients:
|
||||||
resp = communicator.direct_connection_clients[pubkey]
|
resp = communicator.direct_connection_clients[pubkey]
|
||||||
|
else:
|
||||||
"""Spawn a thread that will create the client and eventually add it to the
|
"""Spawn a thread that will create the client and eventually add it to the
|
||||||
communicator.active_services
|
communicator.active_services
|
||||||
"""
|
"""
|
||||||
threading.Thread(target=onionrservices.OnionrServices().create_client, args=[pubkey, communicator], daemon=True).start()
|
threading.Thread(target=onionrservices.OnionrServices().create_client, args=[pubkey, communicator], daemon=True).start()
|
||||||
|
|
||||||
return Response(resp)
|
return Response(resp)
|
Loading…
Reference in New Issue