android-components icon indicating copy to clipboard operation
android-components copied to clipboard

syncNow debouncing should be configurable from the client call site.

Open MatthewTighe opened this issue 3 years ago • 0 comments

With the increased focus on FxA accounts, it would make sense for a call to syncNow to be able to specify its debounce window. For example, a specific syncNow call might want to debounce to 5 or 30 seconds, rather than the full 5 minutes that is the current default.

Assuming this is completed after https://github.com/mozilla-mobile/android-components/issues/12645, then there could be debounced timers tracked for individual engines as well. For example, we may want to sync tabs every 5 seconds but only need to sync bookmarks every minute at most. Full syncs could be debounced if any engine is outside the specified debounce window.

┆Issue is synchronized with this Jira Task

MatthewTighe avatar Aug 12 '22 23:08 MatthewTighe