Files
brave-core/components/sync/engine_impl
Anthony Tseng b0561e7db0 Force to refresh sync cycle(poll/nudge) when transiting from CONFIGURATION to NORMAL mode.
This is to mitigate the chance of bookmarks duplication when first time
sync which is caused by first device send it local bookmarks only after
a poll interval(60s). When second device wants to do
BookmarkModelMerger::Merge(), it can't get anything from server because
first device hasn't sent any. So it commit its own bookmarks which will
cause duplication.

Note: Chrome has FCM invalidation ready so its first device will receive
notification within ~10s
2020-08-06 12:40:21 -07:00
..