Skip to content

Conversation

marcelklehr
Copy link
Member

Summary

The current implementation of the task processing pick up speed setup check is not ideal, as it will return success if no tasks have been submitted in the last day, which may however, be a result of the tasks taking a long time. Thus I've rewritten the setup check here to go back multiple days if it doesn't find any tasks.

Checklist

@marcelklehr marcelklehr added this to the Nextcloud 33 milestone Oct 13, 2025
@marcelklehr marcelklehr requested a review from a team as a code owner October 13, 2025 12:11
@marcelklehr marcelklehr added the 3. to review Waiting for reviews label Oct 13, 2025
@marcelklehr marcelklehr requested review from ArtificialOwl, leftybournes and yemkareems and removed request for a team October 13, 2025 12:11
Signed-off-by: Marcel Klehr <[email protected]>
Comment on lines +48 to +52
$this->l10n->n(
'No scheduled tasks in the last %n hour.',
'No scheduled tasks in the last %n hours.',
24 * $lastNDays
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it might be worth changing the strings, at least for the master branch since conversion of 24 hour multiples to days is not so straightforward

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

heh, yeah, I tried to keep the strings as is, but I guess it's better to change them.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants