aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-12-11 00:27:08 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-12-11 00:27:08 -0500
commit71919dcc055b8ecb64aa18ff7dbdd1eaa4621649 (patch)
tree0c66478cf1f6044821a3ff2585621cd9124af38e /Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
parent7669e821f19101aa1202c2e0a1e00c7e29f46f4b (diff)
update components
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteUserDataRepository.cs')
-rw-r--r--Emby.Server.Implementations/Data/SqliteUserDataRepository.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs b/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
index b113582ed..be59d71b3 100644
--- a/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
+++ b/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
@@ -296,7 +296,7 @@ namespace Emby.Server.Implementations.Data
throw new ArgumentNullException("key");
}
- using (WriteLock.Write())
+ using (WriteLock.Read())
{
using (var connection = CreateConnection(true))
{
@@ -349,7 +349,7 @@ namespace Emby.Server.Implementations.Data
var list = new List<UserItemData>();
- using (WriteLock.Write())
+ using (WriteLock.Read())
{
using (var connection = CreateConnection())
{