Skip to content

Pass maxReaders parameter to PowerSync.withFactory #181

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

Merged
merged 2 commits into from
Sep 30, 2024
Merged

Conversation

mugikhan
Copy link
Contributor

Description

Originally created by David Martos in #171. Prior to this fix the maxReaders was always set to the default of 5 read connections and would not be changed according to the parameter passed in. This fix ensures that the maxReaders parameter is propagated down to the SQLite factory to create multiple read connections.

Work done

  • Pass maxReaders parameter to PowerSync.withFactory

stevensJourney
stevensJourney previously approved these changes Sep 30, 2024
 - powersync@1.8.3
 - powersync_attachments_helper@0.6.7
@mugikhan mugikhan merged commit 70b487e into main Sep 30, 2024
7 checks passed
@mugikhan mugikhan deleted the fix/max-readers branch September 30, 2024 10:15
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

Successfully merging this pull request may close these issues.

2 participants