Files
tiku-backend.net/Tiku.Infrastructure/Jobs/BackgroundJobService.cs
xiong 33375a38d7
Some checks failed
ci / release-gate (push) Has been cancelled
refactor(architecture): harden module boundaries
2026-08-04 12:10:36 +08:00

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);
}