update components
This commit is contained in:
parent
9606a2a710
commit
a9645e1429
|
@ -58,9 +58,9 @@ namespace Emby.Server.Implementations.Activity
|
|||
throw new ArgumentNullException("entry");
|
||||
}
|
||||
|
||||
using (var connection = CreateConnection())
|
||||
{
|
||||
using (WriteLock.Write())
|
||||
{
|
||||
using (var connection = CreateConnection())
|
||||
{
|
||||
connection.RunInTransaction(db =>
|
||||
{
|
||||
|
@ -85,10 +85,10 @@ namespace Emby.Server.Implementations.Activity
|
|||
}
|
||||
|
||||
public QueryResult<ActivityLogEntry> GetActivityLogEntries(DateTime? minDate, int? startIndex, int? limit)
|
||||
{
|
||||
using (var connection = CreateConnection(true))
|
||||
{
|
||||
using (WriteLock.Read())
|
||||
{
|
||||
using (var connection = CreateConnection(true))
|
||||
{
|
||||
var commandText = BaseActivitySelectText;
|
||||
var whereClauses = new List<string>();
|
||||
|
|
Loading…
Reference in New Issue
Block a user