better names for timeout settings

This commit is contained in:
Oliver Gorwits
2018-02-10 22:27:29 +00:00
parent a024716495
commit 4acad9932e
4 changed files with 9 additions and 4 deletions

View File

@@ -176,6 +176,11 @@ if (exists setting('workers')->{interactives}
delete setting('workers')->{interactives};
}
# moved the timeout setting
setting('workers')->{'timeout'} = setting('timeout')
if defined setting('timeout')
and !defined setting('workers')->{'timeout'};
# schedule expire used to be called expiry
setting('schedule')->{expire} ||= setting('schedule')->{expiry}
if setting('schedule') and exists setting('schedule')->{expiry};