diff --git a/src/EventHub.BackgroundServices/EventHubBackgroundServicesModule.cs b/src/EventHub.BackgroundServices/EventHubBackgroundServicesModule.cs index 6804a1f..923993c 100644 --- a/src/EventHub.BackgroundServices/EventHubBackgroundServicesModule.cs +++ b/src/EventHub.BackgroundServices/EventHubBackgroundServicesModule.cs @@ -25,7 +25,7 @@ namespace EventHub public override void OnApplicationInitialization(ApplicationInitializationContext context) { context.AddBackgroundWorker(); - context.AddBackgroundWorker(); + context.AddBackgroundWorker(); context.AddBackgroundWorker(); } } diff --git a/src/EventHub.BackgroundServices/Events/NewEventDetectorWorker.cs b/src/EventHub.BackgroundServices/Events/NewEventWorker.cs similarity index 93% rename from src/EventHub.BackgroundServices/Events/NewEventDetectorWorker.cs rename to src/EventHub.BackgroundServices/Events/NewEventWorker.cs index 24cb51e..34348f3 100644 --- a/src/EventHub.BackgroundServices/Events/NewEventDetectorWorker.cs +++ b/src/EventHub.BackgroundServices/Events/NewEventWorker.cs @@ -11,9 +11,9 @@ using Volo.Abp.Uow; namespace EventHub.Events { - public class NewEventDetectorWorker : AsyncPeriodicBackgroundWorkerBase + public class NewEventWorker : AsyncPeriodicBackgroundWorkerBase { - public NewEventDetectorWorker( + public NewEventWorker( AbpAsyncTimer timer, IServiceScopeFactory serviceScopeFactory) : base(