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

Process forms in chunks or use pagination #2020

Open
1 of 3 tasks
susnux opened this issue Mar 22, 2024 · 1 comment
Open
1 of 3 tasks

Process forms in chunks or use pagination #2020

susnux opened this issue Mar 22, 2024 · 1 comment
Labels
2. developing Work in progress enhancement New feature or request overview Overview of other issues

Comments

@susnux
Copy link
Collaborator

susnux commented Mar 22, 2024

This is more of a meta issue.

Currently for a lot of operations we query all (forms, submissions...) but for large instances this might get a problem if there are e.g. 30'000 forms or 3'000 submissions.

We should figure out a good way to handle:

@susnux susnux added enhancement New feature or request 0. Needs triage Pending approval or rejection. This issue is pending approval. labels Mar 22, 2024
@Chartman123
Copy link
Collaborator

findAll() in FormsMapper is only used for shared forms. So I think that we could already filter the following forms:

  • showToAllUsers in access_json is true in forms table
  • rows in shares table for form_id and share_with = current user

@Chartman123 Chartman123 added overview Overview of other issues 2. developing Work in progress and removed 0. Needs triage Pending approval or rejection. This issue is pending approval. labels Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress enhancement New feature or request overview Overview of other issues
Projects
None yet
Development

No branches or pull requests

2 participants