Added NOLOCK to the IndexingTaskRecord table (#8094)

This commit is contained in:
Matteo Piovanelli
2018-08-09 21:16:50 +02:00
committed by Sébastien Ros
parent 735a67d20a
commit d9f105a92e
2 changed files with 11 additions and 0 deletions

View File

@@ -109,6 +109,7 @@
</Compile>
<Compile Include="Services\CreateUpdateIndexTaskService.cs" />
<Compile Include="Services\ICreateUpdateIndexTaskService.cs" />
<Compile Include="Services\IndexingNoLockTableProvider.cs" />
<Compile Include="Services\UpdateIndexScheduler.cs" />
<Compile Include="Services\IIndexingTaskExecutor.cs" />
<Compile Include="Services\IUpdateIndexScheduler.cs" />

View File

@@ -0,0 +1,10 @@
using System.Collections.Generic;
using Orchard.Data.Providers;
namespace Orchard.Indexing.Services {
public class IndexingNoLockTableProvider : INoLockTableProvider {
public IEnumerable<string> GetTableNames() {
return new string[] { "Orchard_Indexing_IndexingTaskRecord" };
}
}
}