From c6e5c92765b0a31452c62c080ae9f0fb7629521a Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Tue, 22 Mar 2022 21:57:58 -0400 Subject: [PATCH] fix prometheus teardown --- scribe/hub/service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scribe/hub/service.py b/scribe/hub/service.py index e1a05fd..74fb768 100644 --- a/scribe/hub/service.py +++ b/scribe/hub/service.py @@ -100,6 +100,7 @@ class HubServerService(BlockchainReaderService): yield self.start_cancellable(self.session_manager.serve, self.mempool) def _iter_stop_tasks(self): + yield self.stop_prometheus() yield self.status_server.stop() yield self._stop_cancellable_tasks() yield self.session_manager.search_index.stop()