From 382a2437e3889d7d99cb7125c2bbae4fba5ba930 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 23 May 2023 10:35:29 -0600 Subject: [PATCH] f --- teuthology/exporter.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/teuthology/exporter.py b/teuthology/exporter.py index b5f130f95f..c8ab1df3f5 100644 --- a/teuthology/exporter.py +++ b/teuthology/exporter.py @@ -9,7 +9,6 @@ import time from pathlib import Path -from teuthology import exit import teuthology.beanstalk as beanstalk import teuthology.dispatcher from teuthology.config import config @@ -59,7 +58,7 @@ class TeuthologyExporter: new_snapshot = filter_snapshot(tracemalloc.take_snapshot()) display_top(new_snapshot) compare_snapshots(self.init_snapshot, new_snapshot) - exit.exiter.add_handler(signal.SIGUSR2, checkpoint) + signal.signal(signal.SIGUSR2, checkpoint) def start(self): start_http_server(self.port, registry=registry) -- 2.39.5