Skip to content

Commit

Permalink
⚡ refactor: ExcuteTime Use ScheduledFireTimeUtc
Browse files Browse the repository at this point in the history
  • Loading branch information
wzh425 committed Aug 2, 2024
1 parent 791c098 commit 7e519d0
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 7e519d0

Please sign in to comment.