Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7233

We're careful to only perform the first autoupdate check after a delay of 30 seconds, but preferences loads asynchronously

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Auto Updates
    • Labels:
      None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Not Needed

      There is a race condition where we return the preferences defaults until the initial load asynchronously repeats. So the checks in the autoupdater's setup first gets autoUpdates enabled as false. Then a split second later it toggles to true and then we trigger a check immediately anyway.

            Assignee:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Reporter:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: