Commit b6491ca5 by 泽锋 李

fix

parent 832076ab
...@@ -12,7 +12,7 @@ namespace ResetOutofstock ...@@ -12,7 +12,7 @@ namespace ResetOutofstock
{ {
private Timer _timer; private Timer _timer;
protected override Task ExecuteAsync(CancellationToken stoppingToken) protected override Task ExecuteAsync(CancellationToken stoppingToken)
{ {
_timer = new Timer(DoWork, null, TimeSpan.Zero, TimeSpan.FromMinutes(1)); _timer = new Timer(DoWork, null, TimeSpan.Zero, TimeSpan.FromMinutes(1));
return Task.CompletedTask; return Task.CompletedTask;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment