forked from LBRYCommunity/lbry-sdk
start prometheus before block processing
This commit is contained in:
parent
e9c7cf6f63
commit
f7a380e9b7
1 changed files with 1 additions and 1 deletions
|
@ -110,11 +110,11 @@ class Server:
|
|||
self.cancellable_tasks.append(asyncio.ensure_future(run(*args, _flag)))
|
||||
return _flag.wait()
|
||||
|
||||
await self.start_prometheus()
|
||||
await _start_cancellable(self.bp.fetch_and_process_blocks)
|
||||
await self.db.populate_header_merkle_cache()
|
||||
await _start_cancellable(self.mempool.keep_synchronized)
|
||||
await _start_cancellable(self.session_mgr.serve, self.notifications)
|
||||
await self.start_prometheus()
|
||||
|
||||
async def stop(self):
|
||||
for task in reversed(self.cancellable_tasks):
|
||||
|
|
Loading…
Reference in a new issue