diff --git a/TeachingRecordSystem/src/TeachingRecordSystem.Core/Services/TrsDataSync/TrsDataSyncService.cs b/TeachingRecordSystem/src/TeachingRecordSystem.Core/Services/TrsDataSync/TrsDataSyncService.cs index a129ad729..0c03f9719 100644 --- a/TeachingRecordSystem/src/TeachingRecordSystem.Core/Services/TrsDataSync/TrsDataSyncService.cs +++ b/TeachingRecordSystem/src/TeachingRecordSystem.Core/Services/TrsDataSync/TrsDataSyncService.cs @@ -23,7 +23,7 @@ public class TrsDataSyncService( { BackoffType = DelayBackoffType.Exponential, Delay = TimeSpan.FromSeconds(30), - MaxRetryAttempts = 3 + MaxRetryAttempts = 10 }) .Build(); diff --git a/TeachingRecordSystem/src/TeachingRecordSystem.Worker/appsettings.json b/TeachingRecordSystem/src/TeachingRecordSystem.Worker/appsettings.json index 578144d89..13409ce24 100644 --- a/TeachingRecordSystem/src/TeachingRecordSystem.Worker/appsettings.json +++ b/TeachingRecordSystem/src/TeachingRecordSystem.Worker/appsettings.json @@ -73,10 +73,9 @@ "RefreshEstablishmentsJobSchedule": "0 2 * * *" }, "TrsSyncService": { - "PollIntervalSeconds": 300, + "PollIntervalSeconds": 60, "ModelTypes": [ - "Person", - "MandatoryQualification" + "Person" ], "IgnoreInvalidData": false, "RunService": false