-
Notifications
You must be signed in to change notification settings - Fork 86
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
Batch add filters to database #1725
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this solves the problem. createAll
is effectively a batching operation, it is just a batch size of 1. In #1724 it indicates there is 1000
queued tasks (batches) at the database level. You are effectively creating more tasks (batches) with this PR.
Oh, I see, misunderstood the problem. |
6f67847
to
36175b9
Compare
Okay, changed it from adding each filter individually while syncing to add them in batches, like our callbacks |
e2b2767
to
5633081
Compare
5633081
to
5d0f88e
Compare
100b145
to
df9e34d
Compare
Converted the variables to |
* Process filter headers in batch * Use correct batch * Cache filter heights * Convert to option
Closes #1724
Show now batch the the adding new filters to the db.