diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/JobHostdService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/JobHostdService.cs index 2bf2b953..0fa87108 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/JobHostdService.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/JobHostdService.cs @@ -98,6 +98,7 @@ public class JobHostdService : BackgroundService, IApplicationService try { timer.Elapsed += (s, e) => JobItemHeartBeat(job.Id); + timer.Start(); scope.ServiceProvider.GetRequiredService>().Clients.All.ServerToClient("JobItem", "refresh", ""); await jobService.Invoke(scope.ServiceProvider).ConfigureAwait(false); this.JobItemSuccess(job.Id, jobLogId.Value);