From 5b99df68b08dc992a1b0b7784ce9f5410ecb8028 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Tue, 4 Oct 2011 12:06:06 +0200 Subject: [PATCH] Collect stats a bit more often --- Lib/test/support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/support.py b/Lib/test/support.py index cce04aaa21..619bf4cb41 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -1186,7 +1186,7 @@ class _MemoryWatchdog: pipe_fd, wfd = os.pipe() # _file_watchdog() doesn't take the GIL in its child thread, and # therefore collects statistics timely - faulthandler._file_watchdog(rfd, wfd, 3.0) + faulthandler._file_watchdog(rfd, wfd, 1.0) self.started = True self.thread = threading.Thread(target=self.consumer, args=(pipe_fd,)) self.thread.daemon = True -- 2.49.0