I moved from a local sqlite3 DB file to a shared remote (local LAN) MariaDB server and noticed a bit of a slow down. On top of the DB now being remote, I'm also using SSL to encrypt the DB information. Based on the description of database_sync_to_async it sounds like the connection is closed/cleaned up on each call.Is there an option for a persistent DB connection in Channels?
If I want a connection to the database but want it for only the time
the customer (query source) is logged in - - - how do I specify that?
(So I don't want the connection to be timed - - - would rather the
connection was related to the online access and then closed when the
client (customer) logged off.)