Refactor sync sub status and throttle (#5734)

- Rename syncSubStatus to syncStage
- Rename ongoingSyncStartedAt to syncStageStartedAt
- Remove throttlePauseUntil from db and compute it with
syncStageStartedAt and throttleFailureCount
This commit is contained in:
bosiraphael
2024-06-04 16:52:57 +02:00
committed by GitHub
parent ce1469cf0c
commit 234e062232
14 changed files with 148 additions and 110 deletions

View File

@ -6903,9 +6903,9 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
options: null,
id: '24147b01-4394-4aee-92a4-5f6b5073704f',
type: 'DATE_TIME',
name: 'ongoingSyncStartedAt',
label: 'Ongoing sync started at',
description: 'Ongoing sync started at',
name: 'syncStageStartedAt',
label: 'Sync stage started at',
description: 'Sync stage started at',
icon: 'IconHistory',
isCustom: false,
isActive: true,