Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cozy-pouch-link): Add a
syncDebounceMaxDelayInMs
parameter
In previous commit we added the possibility to debounce the `startReplication()` method and to configure the debounce delay with `syncDebounceDelayInMs` parameter This may be problematic as we expect to call this from realtime events that may, in some rare scenario, occur too often to trigger a single replication due to the debounce To prevent this we add the `syncDebounceMaxDelayInMs` parameter that will ensure that `startReplication()` is called when the max delay is reached even if realtime events trigger the debounce for too long
- Loading branch information