Raise hard limit of max duration for zero-temp from 2h to 3h.

(cherry picked from commit 4bf6369)
This commit is contained in:
Johannes Mockenhaupt 2017-12-13 12:55:08 +01:00
parent f83dd1cb67
commit 536bd10e9b
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -46,8 +46,8 @@ public class SetTbrCommand extends BaseCommand {
}
}
if (percentage == 0 && duration > 120) {
violations.add("Max allowed zero-temp duration is 2h");
if (percentage == 0 && duration > 180) {
violations.add("Max allowed zero-temp duration is 3h");
}
return violations;