mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-01-19 17:51:45 +08:00
Added NOLOCK to the IndexingTaskRecord table (#8094)
This commit is contained in:
committed by
Sébastien Ros
parent
735a67d20a
commit
d9f105a92e
@@ -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" />
|
||||
|
||||
@@ -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" };
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user