You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each Settings Sync activity is debounced for 2 seconds and queued until the current sync is finished.
Turn on Settings Sync on VS Code Desktop
Open Log: Settings Sync output channel
Open settings UI editor
Clear the settings sync logs
From settings editor, continuously keep changing a setting (eg, color theme)
Test that sync activities are debounced and throttled - you can check that from Settings Sync log. For eg: following log represents one single settings sync activity:
[2022-01-24 15:54:14.760] [settingssync] [info] Auto Sync: Triggered by Activity
[2022-01-24 15:54:14.839] [settingssync] [info] Settings: No changes found during synchronizing settings.
[2022-01-24 15:54:14.846] [settingssync] [info] Keybindings: No changes found during synchronizing keybindings.
[2022-01-24 15:54:14.850] [settingssync] [info] Snippets: No changes found during synchronizing snippets.
[2022-01-24 15:54:14.853] [settingssync] [info] Tasks: No changes found during synchronizing tasks.
[2022-01-24 15:54:14.859] [settingssync] [info] GlobalState: No changes found during synchronizing ui state.
[2022-01-24 15:54:14.960] [settingssync] [info] Extensions: No changes found during synchronizing extensions.
[2022-01-24 15:54:14.961] [settingssync] [info] Sync done. Took 136ms
Test exceeding the client side rate limit
Write a sample extension that keeps changing a setting in a loop for 50 times:
Turn on Settings Sync and run above extension+command. This causes client to exceed rate limit and when it happens, a dialog is shown that settings sync is suspended until restarting VS Code. Restarting VS Code shall resume the settings sync.
The text was updated successfully, but these errors were encountered:
Refs: #91286
Complexity: 4
Create Issue
Test Threshold
Each Settings Sync activity is debounced for 2 seconds and queued until the current sync is finished.
Test that sync activities are debounced and throttled - you can check that from Settings Sync log. For eg: following log represents one single settings sync activity:
Test exceeding the client side rate limit
Write a sample extension that keeps changing a setting in a loop for 50 times:
Turn on Settings Sync and run above extension+command. This causes client to exceed rate limit and when it happens, a dialog is shown that settings sync is suspended until restarting VS Code. Restarting VS Code shall resume the settings sync.
The text was updated successfully, but these errors were encountered: