branch develop updated (243bf51 -> a3a9dcb)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository mum. See http://git.chorem.org/mum.git from 243bf51 the monitoring can now resume after launching again the server new a3a9dcb the monitoring can now resume after launching again the server The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit a3a9dcba01e6d780152475dcbec1edaa59253813 Author: Alexis Guilbaud <guilbaud@codelutin.com> Date: Thu Feb 26 12:59:33 2015 +0100 the monitoring can now resume after launching again the server Summary of changes: app/process_monitoring.py | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository mum. See http://git.chorem.org/mum.git commit a3a9dcba01e6d780152475dcbec1edaa59253813 Author: Alexis Guilbaud <guilbaud@codelutin.com> Date: Thu Feb 26 12:59:33 2015 +0100 the monitoring can now resume after launching again the server --- app/process_monitoring.py | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/app/process_monitoring.py b/app/process_monitoring.py index 44098da..d977ce2 100644 --- a/app/process_monitoring.py +++ b/app/process_monitoring.py @@ -9,19 +9,15 @@ import time import sys waiting_list = [] -launched = False + def init(db): - global launched - if not launched: - print get_all_monitoring_instructions(db) - for instr in get_all_monitoring_instructions(db): - #print "adding : " + str(instr) - sys.stdout.flush() - add_to_waiting_list(instr) - pm = ProcessMonitoring() - pm.start() - launched = True + for instr in get_all_monitoring_instructions(db): + #print "adding : " + str(instr) + sys.stdout.flush() + add_to_waiting_list(instr) + pm = ProcessMonitoring() + pm.start() class ProcessMonitoring(threading.Thread): -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm