Skip to content
Snippets Groups Projects
Commit 2c4cd523 authored by Lucca Santangelo's avatar Lucca Santangelo
Browse files

delay file cleaner

parent a7b43428
No related branches found
No related tags found
1 merge request!26Develop
Pipeline #10320 passed
...@@ -20,7 +20,7 @@ namespace Tsi1.BusinessLayer.HostedServices ...@@ -20,7 +20,7 @@ namespace Tsi1.BusinessLayer.HostedServices
public Task StartAsync(CancellationToken cancellationToken) public Task StartAsync(CancellationToken cancellationToken)
{ {
_timer = new Timer(DoWork, null, TimeSpan.Zero, TimeSpan.FromDays(1)); _timer = new Timer(DoWork, null, TimeSpan.FromMilliseconds(1), TimeSpan.FromDays(1));
return Task.CompletedTask; return Task.CompletedTask;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment