Skip to content

[Task]: Update collection counts, tags, and dates in background job #3218

@tw4l

Description

@tw4l

Description

When collections are created or modified (e.g. items added/removed), we currently block on recalculating collection data such as counts, tags, and date ranges. As collection sizes grow to many hundreds or thousands of items, this can make some of the API responses quite slow.

We should move these updates to either a FastAPI background task or a proper Browsertrix background job so that they don't slow down the backend.

Context

No response

Metadata

Metadata

Assignees

Labels

back endRequires back end dev work

Type

Projects

Status

Implementing

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions