I have a very large database (about 72 GB). Because of this, I prefer to disable automatic saving and instead do it on demand (using /save-db or /save-db-now). So I've set both db_auto_save_on_close and db_save_on_exit to 0.
This correctly prevents Everything from saving the database when I close an Everything window or explicitly exit the application. However, it doesn't prevent Everything from saving the database when I shut down or restart the computer. My database is on a network share and takes about ten minutes to save, so whenever I try to shut down or restart the OS, the shutdown process eventually times out and I'm left on the logon screen.
Is this by design? If so, would you consider adding a db_save_on_shutdown setting so that it can be disabled?
[Edit: Fixed typo.]
Re: Don't save db on Shutdown
Don't save db on Shutdown
Last edited by Spire on Tue Jul 18, 2023 10:23 am, edited 1 time in total.
Re: Don't save db on Shutdown
Moved from Is there a way to manually store the database without exiting Everything?
I'll make Everything not save the db on shutdown when db_save_on_exit* is disabled and report back here once this is ready for testing.
Thank you for the suggestion.
I'll make Everything not save the db on shutdown when db_save_on_exit* is disabled and report back here once this is ready for testing.
Thank you for the suggestion.
Last edited by void on Tue Jul 18, 2023 10:43 am, edited 2 times in total.
Reason: *db_auto_save_on_close => db_save_on_exit
Reason: *db_auto_save_on_close => db_save_on_exit
Re: Don't save db on Shutdown
Thank you very much!
But if you'd rather not add a separate setting for this, wouldn't it make more sense if it were tied to db_save_on_exit rather than to db_save_on_close? After all, when you shut down the computer, the entire app exits.
But if you'd rather not add a separate setting for this, wouldn't it make more sense if it were tied to db_save_on_exit rather than to db_save_on_close? After all, when you shut down the computer, the entire app exits.
Re: Don't save db on Shutdown
Yes, I meant db_save_on_exit.
Re: Don't save db on Shutdown
Everything 1.5.0.1353a will no longer save the database to disk on Windows shutdown when db_save_on_exit is disabled.
Re: Don't save db on Shutdown
Fix confirmed. Thank you very much!