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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Auto Updates
    • None
    • OS:
      node.js / npm versions:
      Additional info:

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: