ipython/ipython — pull request #1312 by minrk (2012-01-23 21:52:00+00:00)
Title: minor heartbeat tweaks

two small changes:

* flush outgoing heartbeats:
- Prevents mismatch between heartbeat timer and actual heartbeat send/recv events.
- Applied in notebook and parallel.

* 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) unless there's a bug in our code (like the above flush and previously-discovered GIL issues).

closes #1304