|
|
@ -98,6 +98,7 @@ public class JobHostdService : BackgroundService, IApplicationService |
|
|
|
try |
|
|
|
{ |
|
|
|
timer.Elapsed += (s, e) => JobItemHeartBeat(job.Id); |
|
|
|
timer.Start(); |
|
|
|
scope.ServiceProvider.GetRequiredService<IHubContext<PageHub>>().Clients.All.ServerToClient("JobItem", "refresh", ""); |
|
|
|
await jobService.Invoke(scope.ServiceProvider).ConfigureAwait(false); |
|
|
|
this.JobItemSuccess(job.Id, jobLogId.Value); |
|
|
|