Убрал все эти watchers. Написал свой простой как 3 копейки.
This commit is contained in:
@@ -15,13 +15,7 @@ namespace PARR.EsppTemplateSyncWorker
|
||||
|
||||
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
|
||||
{
|
||||
//var task = new Task(() =>
|
||||
//{
|
||||
// templateSyncer.StartWatching();
|
||||
//});
|
||||
//task.Start();
|
||||
|
||||
templateSyncer.StartWatching();
|
||||
await templateSyncer.StartWatchingAsync();
|
||||
|
||||
//while (!stoppingToken.IsCancellationRequested)
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user