Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

Apply Sync records asynchronously #6817

Merged

Conversation

ayumi
Copy link
Contributor

@ayumi ayumi commented Jan 23, 2017

Fix brave/sync#44

Auditors: @diracdeltas

Test Plan:

  1. Start Pyramid 1 which should have Sync enabled and a realistic amount (1000+ records total) of syncable data.
  2. Setup Pyramid 2 (add "start2": "node ./tools/start.js --user-data-dir=brave-development-2 --debug=5859 --enable-logging --v=0 --enable-extension-activity-logging --enable-sandbox-logging --enable-dcheck", to package.json) and specify the Pyramid 1 Sync credentials.
  3. When Pyramid 2 restarts and begins syncing data, Brave should be somewhat usable (not completely frozen for 60s).

Fix brave/sync#44

Auditors: @diracdeltas

Test Plan:
1. Start Pyramid 1 which has a bunch of syncable data. Sync should enabled.
2. Setup Pyramid 2 (add `"start2": "node ./tools/start.js --user-data-dir=brave-development-2 --debug=5859 --enable-logging --v=0 --enable-extension-activity-logging --enable-sandbox-logging --enable-dcheck",` to package.json) and specify the Pyramid 1 Sync credentials.
3. When Pyramid 2 restarts and begins syncing data, Brave should be somewhat usable (not completely frozen for 60s).
@diracdeltas
Copy link
Member

lgtm

@ayumi ayumi merged commit 3f7066e into feature/syncing-0.13.1 Jan 23, 2017
@ayumi ayumi deleted the fix/syncing-less-blocking-apply-records branch January 23, 2017 22:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants