Skip to content

delete background jobs by id when cleaning up - #45582

Merged
icewind1991 merged 2 commits into
masterfrom
joblist-cleanup-by-id
Jun 17, 2024
Merged

delete background jobs by id when cleaning up#45582
icewind1991 merged 2 commits into
masterfrom
joblist-cleanup-by-id

Conversation

@icewind1991

Copy link
Copy Markdown
Member

Instead of deleting by job name and arguments.

This should both improve performance and reduce the risk of deadlocks

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991icewind1991 added the 3. to review Waiting for reviews label May 30, 2024
@icewind1991icewind1991 added this to the Nextcloud 30 milestone May 30, 2024
@icewind1991
icewind1991 requested review from a team, nfebe, sorbaugh and yemkareems and removed request for a teamMay 30, 2024 13:18
@susnux
susnux requested review from come-nc and removed request for sorbaughJune 10, 2024 09:48
@icewind1991
icewind1991 requested a review from artongeJune 14, 2024 12:27
@icewind1991
icewind1991 merged commit 642cffd into masterJun 17, 2024
@icewind1991
icewind1991 deleted the joblist-cleanup-by-id branch June 17, 2024 11:21
@icewind1991

Copy link
Copy Markdown
MemberAuthor

/backport to stable29

@icewind1991

Copy link
Copy Markdown
MemberAuthor

/backport to stable28

@icewind1991

Copy link
Copy Markdown
MemberAuthor

/backport to stable27

* @param int $id
* @since 30.0.0
*/
public function removeById(int $id): void;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@nickvergessennickvergessen added the pending documentation This pull request needs an associated documentation update label Jul 18, 2024
@blizzzblizzz mentioned this pull request Jul 24, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewspending documentationThis pull request needs an associated documentation update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@icewind1991@nickvergessen@artonge@come-nc