Skip to content

Commit

Permalink
⚡ refactor: ExcuteTime Use ScheduledFireTimeUtc (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
wzh425 authored Aug 2, 2024
1 parent 791c098 commit fa3cb47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public async Task Execute(IJobExecutionContext context)
{
JobId = new Guid(jobId.ToString()!),
OperatorId = Guid.Empty,
ExcuteTime = DateTimeOffset.Now
ExcuteTime = context.ScheduledFireTimeUtc ?? DateTimeOffset.Now
});

await eventBus.PublishAsync(@event);
Expand Down

0 comments on commit fa3cb47

Please sign in to comment.