From bbcfaec7109f946d4b6898415ca8f7a8355fab9c Mon Sep 17 00:00:00 2001 From: Stephen Diehl Date: Tue, 3 Jul 2012 17:17:43 -0400 Subject: [PATCH] Smaller generational period -> faster test running --- zipline/core/monitor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zipline/core/monitor.py b/zipline/core/monitor.py index 74690065..e31c4f6a 100644 --- a/zipline/core/monitor.py +++ b/zipline/core/monitor.py @@ -42,7 +42,7 @@ log = logbook.Logger('Controller') # the system. PARAMETERS = ndict(dict( - GENERATIONAL_PERIOD = 8, + GENERATIONAL_PERIOD = 1, ALLOWED_SKIPPED_HEARTBEATS = 3, ALLOWED_INVALID_HEARTBEATS = 3, PRESTART_HEARBEATS = 3, @@ -354,7 +354,7 @@ class Controller(object): sys.exitfunc = lambda: None # Send SIGHUP to buritto - self.signal_hangup() + #self.signal_hangup() if not self.alive: break