Previously we defaulted to fetching 1000 payments at a time when running the cost migration however due to slowness on LND side this may prevent the migration from completing due to RPC timeout kicking in. This commit adds a new config value to give more control to the user by setting the batch size as needed.
Pull Request Checklist
[ ] Update release_notes.md if your PR contains major features, breaking changes or bugfixes
Previously we defaulted to fetching 1000 payments at a time when running the cost migration however due to slowness on LND side this may prevent the migration from completing due to RPC timeout kicking in. This commit adds a new config value to give more control to the user by setting the batch size as needed.
Pull Request Checklist
release_notes.md
if your PR contains major features, breaking changes or bugfixes