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