Browse Source
Update Background-Workers-Hangfire.md
pull/14895/head
maliming
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
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()) |
|
|
|
|