Skip to content

Commit

Permalink
Update run time for service
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadUsama-afk-equinor authored and UsamaEquinorAFK committed Dec 18, 2023
1 parent 7dafccc commit 5e926f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/api/EventHandlers/InspectionFindingEventHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class InspectionFindingEventHandler(IConfiguration configuration,
IServiceScopeFactory scopeFactory,
ILogger<InspectionFindingEventHandler> logger) : BackgroundService
{
private readonly string _cronExpression = "00 13 * * * ";
private readonly string _cronExpression = "30 14 * * * ";
private InspectionFindingService InspectionFindingService => scopeFactory.CreateScope().ServiceProvider.GetRequiredService<InspectionFindingService>();
private readonly TimeSpan _timeSpan = configuration.GetValue<TimeSpan>("InspectionFindingEventHandler:TimeSpan");

Expand Down

0 comments on commit 5e926f0

Please sign in to comment.