Skip to content

Commit

Permalink
Merge pull request #414 from mariux64/mxqi-increase-maxtime
Browse files Browse the repository at this point in the history
mxqi: Increase maximum runtime to 18 hours
  • Loading branch information
donald authored Oct 21, 2024
2 parents d34dc2c + c431a60 commit eed434b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mxqi/mxqi
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ sub parse_size {
sub parse_time_with_policy {
my ($in) = @_;
my $minutes = parse_time($in);
if ($minutes > 600) {
die "mxqi: invalid runtime \"$in\": maximum allowed time for mxqi is 10 hours\n"
if ($minutes > 1080) {
die "mxqi: invalid runtime \"$in\": maximum allowed time for mxqi is 18 hours\n"
}
if ($minutes < 1) {
die "mxqi: invalid runtime \"$in\": minimum allowed time for mxqi is one minute\n"
Expand Down

0 comments on commit eed434b

Please sign in to comment.