Skip to content

Settings sync server query strategy #85210

Closed

Description

@Tyriar

Currently I think the settings sync server is pinged every n seconds to fetch the latest values, while this is fine for development we need to reduce that significantly for production. Kai Maetzel (@kieferrm) and I were talking about it and we're thinking something like this:

  • Ping every 5-10 minutes
  • Special events (debounced)
    • The VS Code application gets focus (eg. alt+tab from a browser)
    • A new VS Code window is opened?
    • Settings is opened

Activity

  1. added
    feature-request
    on Nov 21, 2019
  2. added a commit that references this issue on Nov 27, 2019
  3. added a commit that references this issue on Nov 27, 2019
  4. sandy081 commented on Dec 2, 2019

    @sandy081
    Member

    Updated the auto sync strategy as follows:

    • Changes the auto sync interval to 5 minutes
    • Sync is triggered when
      • a new window is opened
      • window is foucsed
      • Opening settings/keybindings/extensions view
      • settings/keybindings/extensions have changed
  5. locked and limited conversation to collaborators on Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requeston-testplansettings-sync

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions