[Python-checkins] cpython: Collect stats a bit more often

antoine.pitrou python-checkins at python.org
Tue Oct 4 12:09:39 CEST 2011


http://hg.python.org/cpython/rev/f2ed0310adec
changeset:   72647:f2ed0310adec
parent:      72645:8eaa4c3f8633
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Tue Oct 04 12:06:06 2011 +0200
summary:
  Collect stats a bit more often

files:
  Lib/test/support.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/support.py b/Lib/test/support.py
--- a/Lib/test/support.py
+++ b/Lib/test/support.py
@@ -1186,7 +1186,7 @@
         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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list