From: Zack Cerza Date: Tue, 23 May 2023 16:35:29 +0000 (-0600) Subject: f X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=382a2437e3889d7d99cb7125c2bbae4fba5ba930;p=teuthology.git f --- diff --git a/teuthology/exporter.py b/teuthology/exporter.py index b5f130f95..c8ab1df3f 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)