Skip to content

Eager load DB records when duplicating #2209

Open
@weiqingtoh

Description

@weiqingtoh

Currently duplication of a course is done in a single transaction.
Since this duplication will take a while, to check if the transaction blocks updating of the tables.

UPDATE: because they are new objects, the transaction does not block other queries.

This issue now tracks performance improvements (e.g. number of queries needed) during duplication.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions