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

fix #692 by using #all instead of #preload #1039

Merged
merged 1 commit into from
Apr 20, 2021
Merged

fix #692 by using #all instead of #preload #1039

merged 1 commit into from
Apr 20, 2021

Conversation

johrstrom
Copy link
Contributor

Fixes #692

ActiveRecord#preload uses a 'where in ...' clause and sqlite3 has limitations of 1000 variables in that 'in' portion. So just get all
workflows.

ActiveRecord#preload uses a 'where in ...' clause and sqlite3 has
limitations of 1000 variables in that 'in' portion. So just eager
load workflows joined with their job records.
@ericfranz ericfranz merged commit 99087bd into master Apr 20, 2021
@ericfranz ericfranz deleted the myjobs-bugfix branch April 20, 2021 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

job composer fails with "SQLite3::SQLException: too many SQL variables"
3 participants