Skip to content

Commit b69149c

Browse files
authored
config: allow 60sec print time (#1105)
Change-Id: I489b20feda23c9bfcc4862e8e35d99d378d496be
1 parent 77fb06d commit b69149c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/configsetup.inc.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1519,9 +1519,9 @@
15191519
'placeholder' => $defaultConfig['print']['time'],
15201520
'name' => 'print[time]',
15211521
'value' => $config['print']['time'],
1522-
'range_min' => 250,
1523-
'range_max' => 20000,
1524-
'range_step' => 250,
1522+
'range_min' => 500,
1523+
'range_max' => 60000,
1524+
'range_step' => 500,
15251525
'unit' => 'milliseconds',
15261526
],
15271527
'print_limit' => [

src/Configuration/PhotoboothConfiguration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ protected function addPrint(): NodeDefinition
204204
->end()
205205
->end()
206206
->integerNode('time')
207-
->min(250)
208-
->max(20000)
207+
->min(500)
208+
->max(60000)
209209
->defaultValue(5000)
210210
->beforeNormalization()
211211
->ifString()

0 commit comments

Comments
 (0)