Don't clean right on startup

master
Peter Šurda 7 years ago
parent d699a28e49
commit 7b9b7504ad
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

@ -49,6 +49,10 @@ class singleCleaner(threading.Thread, StoppableThread):
# Either the user hasn't set stopresendingafterxdays and stopresendingafterxmonths yet or the options are missing from the config file.
shared.maximumLengthOfTimeToBotherResendingMessages = float('inf')
# initial wait
if state.shutdown == 0:
self.stop.wait(300)
while state.shutdown == 0:
queues.UISignalQueue.put((
'updateStatusBar', 'Doing housekeeping (Flushing inventory in memory to disk...)'))

Loading…
Cancel
Save