Removed unused varibles defined in shared:
alreadyAttemptedConnections*, needToWriteKnownNodesToDisk
This commit is contained in:
parent
3adadd398f
commit
c2a3b5faed
|
@ -4,7 +4,6 @@
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import stat
|
import stat
|
||||||
import time
|
|
||||||
import threading
|
import threading
|
||||||
import hashlib
|
import hashlib
|
||||||
import subprocess
|
import subprocess
|
||||||
|
@ -48,14 +47,7 @@ printLock = threading.Lock()
|
||||||
statusIconColor = 'red'
|
statusIconColor = 'red'
|
||||||
|
|
||||||
thisapp = None # singleton lock instance
|
thisapp = None # singleton lock instance
|
||||||
alreadyAttemptedConnectionsList = {
|
|
||||||
} # This is a list of nodes to which we have already attempted a connection
|
|
||||||
alreadyAttemptedConnectionsListLock = threading.Lock()
|
|
||||||
# used to clear out the alreadyAttemptedConnectionsList periodically
|
|
||||||
# so that we will retry connecting to hosts to which we have already
|
|
||||||
# tried to connect.
|
|
||||||
alreadyAttemptedConnectionsListResetTime = int(time.time())
|
|
||||||
# A list of the amounts of time it took to successfully decrypt msg messages
|
|
||||||
successfullyDecryptMessageTimings = []
|
successfullyDecryptMessageTimings = []
|
||||||
ackdataForWhichImWatching = {}
|
ackdataForWhichImWatching = {}
|
||||||
# used by API command clientStatus
|
# used by API command clientStatus
|
||||||
|
@ -64,9 +56,6 @@ numberOfMessagesProcessed = 0
|
||||||
numberOfBroadcastsProcessed = 0
|
numberOfBroadcastsProcessed = 0
|
||||||
numberOfPubkeysProcessed = 0
|
numberOfPubkeysProcessed = 0
|
||||||
|
|
||||||
# If True, the singleCleaner will write it to disk eventually.
|
|
||||||
needToWriteKnownNodesToDisk = False
|
|
||||||
|
|
||||||
maximumLengthOfTimeToBotherResendingMessages = 0
|
maximumLengthOfTimeToBotherResendingMessages = 0
|
||||||
timeOffsetWrongCount = 0
|
timeOffsetWrongCount = 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user