Структура
This commit is contained in:
@@ -15,7 +15,7 @@ namespace PARR.EsppTemplateSyncWorker
|
||||
|
||||
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
|
||||
{
|
||||
await templateSyncer.StartWatchingAsync();
|
||||
await templateSyncer.StartAsync();
|
||||
|
||||
//while (!stoppingToken.IsCancellationRequested)
|
||||
//{
|
||||
@@ -26,7 +26,7 @@ namespace PARR.EsppTemplateSyncWorker
|
||||
|
||||
public override Task StopAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
templateSyncer.StopWatching();
|
||||
templateSyncer.Stop();
|
||||
|
||||
return base.StopAsync(cancellationToken);
|
||||
}
|
||||
|
||||
@@ -9,6 +9,11 @@
|
||||
"StoragePath": "W:\\"
|
||||
},
|
||||
"GlobalSettings": {
|
||||
"CheckIntervalSeconds": 5
|
||||
"MqSettings": {
|
||||
|
||||
},
|
||||
"StorageSettings": {
|
||||
"CheckIntervalSeconds": 5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,6 +32,11 @@
|
||||
}
|
||||
},
|
||||
"GlobalSettings": {
|
||||
"CheckIntervalSeconds": 30
|
||||
"MqSettings": {
|
||||
|
||||
},
|
||||
"StorageSettings": {
|
||||
"CheckIntervalSeconds": 30
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user