Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable29] fix(cron): Keep job class limitation when searching for the next job #50899

Closed
wants to merge 1 commit into from

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Feb 19, 2025

Backport of PR #50896

@nickvergessen
Copy link
Member

Parameter does not exist in 29

@@ -222,7 +222,7 @@
$update->setParameter('jobid', $row['id']);
$update->executeStatement();

return $this->getNext($onlyTimeSensitive);
return $this->getNext($onlyTimeSensitive, $jobClasses);

Check failure

Code scanning / Psalm

TooManyArguments Error

Too many arguments for method OC\BackgroundJob\JobList::getnext - saw 2
@@ -222,7 +222,7 @@
$update->setParameter('jobid', $row['id']);
$update->executeStatement();

return $this->getNext($onlyTimeSensitive);
return $this->getNext($onlyTimeSensitive, $jobClasses);

Check failure

Code scanning / Psalm

UndefinedVariable Error

Cannot find referenced variable $jobClasses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant