powersync-ja / powersync.dart

SDK that enables local-first and real-time reactive apps with embedded SQLite for Flutter/Dart clients
https://www.powersync.com
133 stars 18 forks source link

Pass maxReaders parameter to PowerSync.withFactory #181

Closed mugikhan closed 1 month ago

mugikhan commented 1 month ago

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