From a4d4ccc5b3dd436aeb69ba304db88516a96f0f10 2012-01-23 21:44:10 From: MinRK Date: 2012-01-23 21:44:10 Subject: [PATCH] relax default heartbeat period in IPython.parallel to 3s (from 1s) Matches heartbeats elsewhere. 3s should be extremely conservative, as most heartbeat responses are O(1ms). --- diff --git a/IPython/parallel/controller/heartmonitor.py b/IPython/parallel/controller/heartmonitor.py index 639998f..a27536b 100755 --- a/IPython/parallel/controller/heartmonitor.py +++ b/IPython/parallel/controller/heartmonitor.py @@ -64,7 +64,7 @@ class HeartMonitor(LoggingConfigurable): pongstream: an XREP stream period: the period of the heartbeat in milliseconds""" - period = Integer(1000, config=True, + period = Integer(3000, config=True, help='The frequency at which the Hub pings the engines for heartbeats ' '(in ms)', )