diff --git a/src/communicator/__init__.py b/src/communicator/__init__.py index 257822a3..50c7edc6 100755 --- a/src/communicator/__init__.py +++ b/src/communicator/__init__.py @@ -69,7 +69,7 @@ class OnionrCommunicatorDaemon: self.shared_state.share_object() # loop time.sleep delay in seconds - self.delay = 1 + self.delay = 5 # amount of threads running by name, used to prevent too many self.threadCounts = {} @@ -169,11 +169,6 @@ class OnionrCommunicatorDaemon: logger.info( 'Goodbye. (Onionr is cleaning up, and will exit)', terminal=True) - try: - time.sleep(0.5) - except KeyboardInterrupt: - pass - def decrementThreadCount(self, threadName): """Decrement amount of a thread name if more than zero. diff --git a/src/onionrproofs/subprocesspow.py b/src/onionrproofs/subprocesspow.py index 092639fd..2923de74 100755 --- a/src/onionrproofs/subprocesspow.py +++ b/src/onionrproofs/subprocesspow.py @@ -118,6 +118,7 @@ class SubprocessPOW: difficulty = self.difficulty try: while True: + #logger.info('still running', terminal=True) # Break if shutdown received try: if pipe.poll() and pipe.recv() == 'shutdown':