Instead of fetching all records at once, allow to persist them in batches. Reduces memory usage, but increases total sync time (in theory).
Changes in bookingsync-api are required, since right now it doesn't handle pagination with block, if only one page is returned.
May require some additional changes in other apps if they override synchronize method (array of all fetched records can't be returned anymore, so for example calling super and doing some additional operations on fetched records won't work anymore)auto_paginate strategy is backwards compatible, so should work without any changes.
Instead of fetching all records at once, allow to persist them in batches. Reduces memory usage, but increases total sync time (in theory). Changes in
bookingsync-api
are required, since right now it doesn't handle pagination with block, if only one page is returned.May require some additional changes in other apps if they overridesynchronize
method (array of all fetched records can't be returned anymore, so for example callingsuper
and doing some additional operations on fetched records won't work anymore)auto_paginate
strategy is backwards compatible, so should work without any changes.