]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Collect stats a bit more often
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 4 Oct 2011 10:06:06 +0000 (12:06 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 4 Oct 2011 10:06:06 +0000 (12:06 +0200)
Lib/test/support.py

index cce04aaa21191433c7e96abde484d5fce70f3be8..619bf4cb41657d53844c09e41503b0977a421404 100644 (file)
@@ -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