sot / timelines

Commanded states timelines
3 stars 0 forks source link

Reduce interrupt warnings #13

Closed jeanconn closed 10 years ago

jeanconn commented 10 years ago

This PR reduces the noise of interrupt warnings like:

LOAD_SEG WARN: Loads CL206:1103 CL208:2305 separated by more that 12 hours 

by

  1. increasing the threshold by which command loads must be separated before throwing a warning from 12 to 36 hours
  2. only throwing a warning on overlap or separation during the job if there is an actual database update (code was throwing the warning every time the tool was run even if there were no actions)
jeanconn commented 10 years ago

This was tested against the full regression suite (with sftp pushes locally disabled).

jeanconn commented 10 years ago

Database backed up and update installed. Loads had already been ingested for the week.