mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 09:14:45 +03:00
update repositories
This commit is contained in:
@@ -29,12 +29,7 @@ namespace Emby.Server.Implementations.Notifications
|
||||
{
|
||||
using (var connection = CreateConnection())
|
||||
{
|
||||
connection.ExecuteAll(string.Join(";", new[]
|
||||
{
|
||||
"PRAGMA page_size=4096",
|
||||
"pragma default_temp_store = memory",
|
||||
"pragma temp_store = memory"
|
||||
}));
|
||||
RunDefaultInitialization(connection);
|
||||
|
||||
string[] queries = {
|
||||
|
||||
@@ -58,7 +53,7 @@ namespace Emby.Server.Implementations.Notifications
|
||||
|
||||
using (var connection = CreateConnection(true))
|
||||
{
|
||||
//using (WriteLock.Read())
|
||||
using (WriteLock.Read())
|
||||
{
|
||||
var clauses = new List<string>();
|
||||
var paramList = new List<object>();
|
||||
@@ -113,7 +108,7 @@ namespace Emby.Server.Implementations.Notifications
|
||||
|
||||
using (var connection = CreateConnection(true))
|
||||
{
|
||||
//using (WriteLock.Read())
|
||||
using (WriteLock.Read())
|
||||
{
|
||||
using (var statement = connection.PrepareStatement("select Level from Notifications where UserId=@UserId and IsRead=@IsRead"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user