Odrive crashes several seconds after being loaded

Hi @leiboavi,
Edit This option has been officially released: Desktop Release (06-13-2020) Win v. 6608 / Mac v. 6701

Before you install this, if you could quickly test the odrive behavior when your external drive is disconnected, I would greatly appreciate it.

Steps to install/use:

  1. Delete the odrive_user_general_conf.txt file in the root of the odrive folder.
  2. Install the build above
  3. When odrive starts, it should recreate the odrive_user_general_conf.txt file, which will have a new option in it.
  4. Open odrive_user_general_conf.txt and change "disableFSEvents": false, to "disableFSEvents": true,
  5. Restart odrive (or start, since presumably odrive crashed again).

What this setting will do is disable the filesystem event registration/processing, which is where the crash appears to be. With this disabled, changes that you make in odrive folders will not be immediately seen if you are not inside the odrive folder at the time. For example, if you edit a file with an application and you do not have a Finder window open to the folder where the file is being edited. To compensate for this, when events are disabled, the local scan interval is shortened to 10 minutes. This means, at worst, it will take 10 minutes for odrive to look at your odrive folders in the background and see the local change. You can also kick off an immediate “look” if you browse into the folder via Finder or right-click->refresh on the folder.