From: Antoine Pitrou Date: Tue, 4 Oct 2011 10:06:06 +0000 (+0200) Subject: Collect stats a bit more often X-Git-Tag: v3.3.0a1~1341 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b99df68b08dc992a1b0b7784ce9f5410ecb8028;p=thirdparty%2FPython%2Fcpython.git Collect stats a bit more often --- diff --git a/Lib/test/support.py b/Lib/test/support.py index cce04aaa2119..619bf4cb4165 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