Skeudenn / main/db/backup-runner
main/db/backup-runner ​
Runs a database copy in a worker thread, so a large library's VACUUM INTO (synchronous in node:sqlite) doesn't hold up the main process's IPC for its whole duration (ADR 0024). Free of Electron and of any real thread: the main process passes the function that starts the worker.