Update some timeout field docstrings, per latest refactor

This commit is contained in:
Lance Edgar 2018-10-19 16:47:20 -05:00
parent 19553edda6
commit 871a9154da

View file

@ -214,16 +214,14 @@ class Probe(Base):
# TODO: deprecate / remove this
therm_status_timeout = sa.Column(sa.Integer(), nullable=False, doc="""
Number of minutes the temperature is allowed to be "high" before the first
"high temp" email alert is sent. This is typically meant to account for
the length of the defrost cycle. Note that this does *not* affect the
"critical temp" emails; those are sent as soon as critical temp is reached.
NOTE: This field is deprecated; please set the value for High Timeout instead.
""")
status_alert_timeout = sa.Column(sa.Integer(), nullable=False, doc="""
Number of minutes between successive "high/critical temp" emails. These
alerts will continue to be sent until the temperature returns to normal
range.
Number of minutes between successive status alert emails. These alerts
will continue to be sent until the status changes. Note that the *first*
alert for a given status will be delayed according to the timeout for that
status.
""")
notes = sa.Column(sa.Text(), nullable=True, doc="""