Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessions with large number of transfers can cause timeout #653

Open
helrond opened this issue Mar 7, 2024 · 0 comments
Open

Accessions with large number of transfers can cause timeout #653

helrond opened this issue Mar 7, 2024 · 0 comments

Comments

@helrond
Copy link
Member

helrond commented Mar 7, 2024

Describe the bug

Accessions with a large number of transfers can cause a timeout.

To reproduce

Steps to reproduce the behavior:

  1. Create an accession with a large number (~100) of transfers
  2. Observe timeout

Expected behavior

Creating accessions should not cause a timeout.

Impact on your work

When this happens it makes a bit of a mess that has to be cleaned up manually. It's not the end of the world but it's annoying.

Additional context

There is a lot of processing of transfers and rights statements that happens in the view, which is probably what is causing this timeout. Consider other ways of implementing this logic, including as a cron or post-save signal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant