fix error
This commit is contained in:
parent
f2c494d4d6
commit
7bc90c425f
1 changed files with 1 additions and 1 deletions
|
@ -2071,7 +2071,7 @@ class BlockchainProcessorService(BlockchainService):
|
||||||
self._caught_up_event = caught_up_event
|
self._caught_up_event = caught_up_event
|
||||||
try:
|
try:
|
||||||
if os.path.exists(self.db._need_restart_path):
|
if os.path.exists(self.db._need_restart_path):
|
||||||
raise MemoryError()
|
raise RuntimeError('scribe restart is needed')
|
||||||
if self.height != self.daemon.cached_height() and not self.db.catching_up:
|
if self.height != self.daemon.cached_height() and not self.db.catching_up:
|
||||||
await self._need_catch_up() # tell the readers that we're still catching up with lbrycrd/lbcd
|
await self._need_catch_up() # tell the readers that we're still catching up with lbrycrd/lbcd
|
||||||
while not self._stopping:
|
while not self._stopping:
|
||||||
|
|
Loading…
Reference in a new issue