added TODO to job.py

This commit is contained in:
Johannes Findeisen 2013-11-05 03:51:34 +01:00
commit 26ffeada50

View file

@ -84,6 +84,7 @@ class Job:
if execution_sucessful: if execution_sucessful:
if self.job_threshold > 0: if self.job_threshold > 0:
#TODO: maybe set threshold_handling for each service optionally; will override core setting! #TODO: maybe set threshold_handling for each service optionally; will override core setting!
#TODO: reset should be default; decrement should be optional
if self.core["threshold_handling"] == "reset": if self.core["threshold_handling"] == "reset":
logger.info("Job " + self.hex_string() + ", Threshold Reset") logger.info("Job " + self.hex_string() + ", Threshold Reset")
self.job_threshold = 0 self.job_threshold = 0