I'm not aware if there's an option for this or not, but I'd imagine it should make sense to disconnect from the database if the server is stopped, this becomes more useful in instances where the server might be started and stopped various times, and given some configuration variables (which may differ from time to time for when the server is set up (with routes/plugins/ect), the most obvious use case for me is testing.
I'm not aware if there's an option for this or not, but I'd imagine it should make sense to disconnect from the database if the server is stopped, this becomes more useful in instances where the server might be started and stopped various times, and given some configuration variables (which may differ from time to time for when the server is set up (with routes/plugins/ect), the most obvious use case for me is testing.