Skip to content

Commit

Permalink
Do not let schedule_iso jobs expire
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed May 3, 2022
1 parent 7a11d06 commit 970bc39
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/OpenQA/WebAPI/Controller/API/V1/Iso.pm
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,7 @@ sub create {
scheduled_product_id => $scheduled_product_id,
scheduling_params => \%params,
);
my %gru_options = (
priority => 10,
ttl => 10 * 60,
);
my $ids = $self->gru->enqueue(schedule_iso => \%minion_job_args, \%gru_options);
my $ids = $self->gru->enqueue(schedule_iso => \%minion_job_args, {priority => 10});
my $gru_task_id = $ids->{gru_id};
my $minion_job_id = $ids->{minion_id};
$scheduled_product->update(
Expand Down

0 comments on commit 970bc39

Please sign in to comment.