kill scribe-hub upon mempool loop crashing
-allows docker to restart it
This commit is contained in:
parent
60a1c2ec20
commit
1e3087953f
1 changed files with 1 additions and 0 deletions
|
@ -223,6 +223,7 @@ class BlockchainReaderService(BlockchainService):
|
||||||
raise
|
raise
|
||||||
except:
|
except:
|
||||||
self.log.exception("blockchain reader main loop encountered an unexpected error")
|
self.log.exception("blockchain reader main loop encountered an unexpected error")
|
||||||
|
self.shutdown_event.set()
|
||||||
raise
|
raise
|
||||||
await asyncio.sleep(self._refresh_interval)
|
await asyncio.sleep(self._refresh_interval)
|
||||||
synchronized.set()
|
synchronized.set()
|
||||||
|
|
Loading…
Reference in a new issue