Skip to content

[#74746] Avoid additional journal background jobs to be started by Jira import job#23108

Open
as-op wants to merge 1 commit intorelease/17.4from
code-maintenance/74746-avoid-additional-journal-background-jobs-to-be-started-by-jira-import-job
Open

[#74746] Avoid additional journal background jobs to be started by Jira import job#23108
as-op wants to merge 1 commit intorelease/17.4from
code-maintenance/74746-avoid-additional-journal-background-jobs-to-be-started-by-jira-import-job

Conversation

@as-op
Copy link
Copy Markdown
Contributor

@as-op as-op commented May 7, 2026

Ticket

https://community.openproject.org/wp/74746

What are you trying to achieve?

While importing Jira issues and creating work packages and work package journals, a lot of background jobs where created. For about 200k work packages about 800k background jobs were queued. Even if there worked on pretty fast, this blocked the workers queue for quite some time. These should not run at all, as they are not needed.

What approach did you choose and why?

Like for stopping notifications via Journal::NotificationConfiguration.with(false) do ... end
introduce a Journal::EventConfiguration.with(false) do ... end which stops creation of background jobs

Merge checklist

  • Added/updated tests
  • Tested major browsers (Chrome, Firefox, Edge, ...)

@as-op as-op requested a review from ba1ash May 7, 2026 12:48
@opf opf deleted a comment from github-actions Bot May 7, 2026
@as-op as-op force-pushed the code-maintenance/74746-avoid-additional-journal-background-jobs-to-be-started-by-jira-import-job branch from 70d6a2d to ed2881f Compare May 7, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant