Browse Source

Update Background-Workers-Hangfire.md

pull/14895/head
maliming 4 years ago
committed by GitHub
parent
commit
0900b38158
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docs/en/Background-Workers-Hangfire.md

1
docs/en/Background-Workers-Hangfire.md

@ -77,7 +77,6 @@ public class MyLogWorker : HangfireBackgroundWorkerBase, IMyLogWorker
CronExpression = Cron.Daily();
}
[UnitOfWork]
public override Task DoWorkAsync(CancellationToken cancellationToken = default)
{
using (var uow = LazyServiceProvider.LazyGetRequiredService<IUnitOfWorkManager>().Begin())

Loading…
Cancel
Save