Delayed Sync Plugin

Hi all!
This simple plugin introduces the ability to schedule a synchronization after a note has been modified. It is intended for people who quickly jot something down on Joplin and then go about their day forgetting to synchronize.

Options

Currently this plugin has two options:

  • Sync Delay: how many milliseconds to wait after a note has been edited, before triggering a synchronization. Defaults to 5000 milliseconds. I would not make this too small as it also behaves as a debouncer, clearing the timer with each note edit. The timer counting the delay is reset with each edit.
  • Queue Syncs: whether to queue another sync if a synchronization is already happening after Sync Delay time has passed. This is to make sure that all note changes are saved "in time". Defaults to true.

Doesn't Joplin do this already by itself?

What I mean is, if you edit a local note, the changes are synced automatically after a second or so. This is regardless of the synchronisation interval defined in the settings.

I am not sure. I am using Dropbox and I observed syncing only at specific times. That's why I keep the synchronisation interval at the lowest possible (5mins).