Skip to content

Commit 8075515

Browse files
authored
fix: readjust Temporal timeout settings for member enrichment (CM-869) (#3731)
1 parent f17af6b commit 8075515

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

services/apps/members_enrichment_worker/src/workflows/enrichMember.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ const {
2828
startToCloseTimeout: '7 minutes',
2929
retry: {
3030
maximumAttempts: 3,
31-
initialInterval: '60s',
31+
initialInterval: '5 minutes',
3232
backoffCoefficient: 2,
33-
maximumInterval: '5 minutes',
33+
maximumInterval: '10 minutes',
3434
},
3535
})
3636

services/apps/members_enrichment_worker/src/workflows/getMembersToEnrich.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,7 @@ export async function getMembersToEnrich(): Promise<void> {
4646
workflowId: 'member-enrichment/' + member.id,
4747
cancellationType: ChildWorkflowCancellationType.WAIT_CANCELLATION_COMPLETED,
4848
parentClosePolicy: ParentClosePolicy.PARENT_CLOSE_POLICY_REQUEST_CANCEL,
49-
workflowExecutionTimeout: '45 minutes',
50-
retry: {
51-
backoffCoefficient: 2,
52-
maximumAttempts: 3,
53-
initialInterval: '60s',
54-
maximumInterval: '5 minutes',
55-
},
49+
workflowExecutionTimeout: '60 minutes',
5650
args: [member, sources],
5751
}),
5852
),

0 commit comments

Comments
 (0)