app/soc/models/job.py
changeset 2229 b36ecf371aef
parent 2225 c6a0f935504c
child 2263 823fdb4e1781
equal deleted inserted replaced
2228:d58dd8963332 2229:b36ecf371aef
    50 
    50 
    51   #: the date this job was last modified on
    51   #: the date this job was last modified on
    52   last_modified_on = db.DateTimeProperty(auto_now_add=True)
    52   last_modified_on = db.DateTimeProperty(auto_now_add=True)
    53 
    53 
    54   #: the amount of times this job raised an Exception (other than a
    54   #: the amount of times this job raised an Exception (other than a
    55   #: DeadlineExceededException).
    55   #: DeadlineExceededError).
    56   errors = db.IntegerProperty(default=0)
    56   errors = db.IntegerProperty(default=0)
       
    57 
       
    58   #: the amount of times this job raised an DeadlineExceededError.
       
    59   timeouts = db.IntegerProperty(default=0)
    57 
    60 
    58   #: the data that the worker will use to process this job
    61   #: the data that the worker will use to process this job
    59   text_data = db.TextProperty(required=False, default="")
    62   text_data = db.TextProperty(required=False, default="")
    60 
    63 
    61   #: the data that the worker will use to process this job
    64   #: the data that the worker will use to process this job