From 536bd10e9b322ddf7bc21bdaedf2d761f69cd779 Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Wed, 13 Dec 2017 12:55:08 +0100 Subject: [PATCH] Raise hard limit of max duration for zero-temp from 2h to 3h. (cherry picked from commit 4bf6369) --- .../java/de/jotomo/ruffyscripter/commands/SetTbrCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruffyscripter/src/main/java/de/jotomo/ruffyscripter/commands/SetTbrCommand.java b/ruffyscripter/src/main/java/de/jotomo/ruffyscripter/commands/SetTbrCommand.java index 3ab52ee3d1..6f95d0d0ee 100644 --- a/ruffyscripter/src/main/java/de/jotomo/ruffyscripter/commands/SetTbrCommand.java +++ b/ruffyscripter/src/main/java/de/jotomo/ruffyscripter/commands/SetTbrCommand.java @@ -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;