From 9f2b40166efc193332a364fb4d69b8e73f04f63d Mon Sep 17 00:00:00 2001 From: Henry Fontanier Date: Tue, 26 Nov 2024 12:37:41 +0100 Subject: [PATCH] enh(zendesk): don't launch a full sync on resume (#8902) Co-authored-by: Henry Fontanier --- connectors/src/connectors/zendesk/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/connectors/src/connectors/zendesk/index.ts b/connectors/src/connectors/zendesk/index.ts index 222be2a912b6..46913e16b9f2 100644 --- a/connectors/src/connectors/zendesk/index.ts +++ b/connectors/src/connectors/zendesk/index.ts @@ -194,7 +194,7 @@ export class ZendeskConnectorManager extends BaseConnectorManager { dataSourceId: dataSourceConfig.dataSourceId, }; - const syncResult = await this.sync(); + const syncResult = await launchZendeskSyncWorkflow(connector); if (syncResult.isErr()) { logger.error( { ...loggerArgs, error: syncResult.error }, @@ -202,6 +202,7 @@ export class ZendeskConnectorManager extends BaseConnectorManager { ); return syncResult; } + const gcResult = await launchZendeskGarbageCollectionWorkflow(connector); if (gcResult.isErr()) { logger.error(