summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-10-04 10:06:06 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-10-04 10:06:06 (GMT)
commit5b99df68b08dc992a1b0b7784ce9f5410ecb8028 (patch)
tree8505c7066ab646406058531a416d14d10c128b96
parent75e78b6c775dbb791530af4fe4871e0ddeb2d880 (diff)
downloadcpython-5b99df68b08dc992a1b0b7784ce9f5410ecb8028.zip
cpython-5b99df68b08dc992a1b0b7784ce9f5410ecb8028.tar.gz
cpython-5b99df68b08dc992a1b0b7784ce9f5410ecb8028.tar.bz2
Collect stats a bit more often
-rw-r--r--Lib/test/support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py
index cce04aa..619bf4c 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