mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Get write connection for vacuum
This commit is contained in:
parent
33f97045f9
commit
8dba3a44fd
@ -124,7 +124,7 @@ namespace Emby.Server.Implementations.Data
|
||||
ReadConnections = new ConnectionPool(ReadConnectionsCount, CreateReadConnection);
|
||||
|
||||
// Configuration and pragmas can affect VACUUM so it needs to be last.
|
||||
using (var connection = GetConnection(true))
|
||||
using (var connection = GetConnection())
|
||||
{
|
||||
connection.Execute("VACUUM");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user