Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Performance bottlenecks #211

Open
a-barbieri opened this issue Sep 20, 2018 · 2 comments
Open

Performance bottlenecks #211

a-barbieri opened this issue Sep 20, 2018 · 2 comments
Assignees

Comments

@a-barbieri
Copy link
Collaborator

Issue

This line creates a long list of updates https://github.com/BindaCMS/binda/blob/master/app/models/binda/component.rb#L19

Expected behavior

It'd be best to use active job

How to reproduce the issue

  1. Create a structure
  2. Create some components
  3. Create a new field setting

This generates a long list of record updates in the main background processor.

System configuration

Binda version: 0.1.10

Rails version: 5.2

@a-barbieri a-barbieri changed the title Performance bottlenecks Performance bottleneck Sep 20, 2018
@a-barbieri
Copy link
Collaborator Author

Last but not least, depending on the number of components affected by the selection field
https://github.com/BindaCMS/binda/blob/master/app/models/binda/selection.rb#L141-L147

@a-barbieri a-barbieri changed the title Performance bottleneck Performance bottlenecks Sep 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants