16 lines
586 B
C#
16 lines
586 B
C#
using Tiku.Application.Jobs;
|
|
using Tiku.Application.Security;
|
|
using Tiku.Infrastructure.Persistence;
|
|
|
|
namespace Tiku.Infrastructure.Jobs;
|
|
|
|
internal sealed partial class BackgroundJobService(
|
|
IJobsOperationsPersistence dbContext,
|
|
ITenantExecutionScope tenantExecutionScope,
|
|
IFeatureAccessService featureAccessService) : IBackgroundJobService
|
|
{
|
|
private IJobsOperationsPersistence jobsOperationsPersistence { get; } = dbContext;
|
|
private IModulePersistence unitOfWork { get; } = dbContext;
|
|
private static readonly TimeSpan LeaseDuration = TimeSpan.FromMinutes(5);
|
|
}
|