Browse Source

Rename NewEventDetectorWorker to align the names.

pull/29/head
Halil İbrahim Kalkan 6 years ago
parent
commit
459b30fccf
  1. 2
      src/EventHub.BackgroundServices/EventHubBackgroundServicesModule.cs
  2. 4
      src/EventHub.BackgroundServices/Events/NewEventWorker.cs

2
src/EventHub.BackgroundServices/EventHubBackgroundServicesModule.cs

@ -25,7 +25,7 @@ namespace EventHub
public override void OnApplicationInitialization(ApplicationInitializationContext context) public override void OnApplicationInitialization(ApplicationInitializationContext context)
{ {
context.AddBackgroundWorker<EventReminderWorker>(); context.AddBackgroundWorker<EventReminderWorker>();
context.AddBackgroundWorker<NewEventDetectorWorker>(); context.AddBackgroundWorker<NewEventWorker>();
context.AddBackgroundWorker<EventTimingChangeWorker>(); context.AddBackgroundWorker<EventTimingChangeWorker>();
} }
} }

4
src/EventHub.BackgroundServices/Events/NewEventDetectorWorker.cs → src/EventHub.BackgroundServices/Events/NewEventWorker.cs

@ -11,9 +11,9 @@ using Volo.Abp.Uow;
namespace EventHub.Events namespace EventHub.Events
{ {
public class NewEventDetectorWorker : AsyncPeriodicBackgroundWorkerBase public class NewEventWorker : AsyncPeriodicBackgroundWorkerBase
{ {
public NewEventDetectorWorker( public NewEventWorker(
AbpAsyncTimer timer, AbpAsyncTimer timer,
IServiceScopeFactory serviceScopeFactory) IServiceScopeFactory serviceScopeFactory)
: base( : base(
Loading…
Cancel
Save