Skip to content

Commit 71653cb

Browse files
authored
Adjust default timeout and polling interval values
Increase default timeout and polling interval for action attempts.
1 parent 63e4408 commit 71653cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/seam/connect/resolve-action-attempt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export interface ResolveActionAttemptOptions {
1010
export const resolveActionAttempt = async <T extends ActionAttempt>(
1111
actionAttempt: T,
1212
actionAttempts: SeamHttpActionAttempts,
13-
{ timeout = 5000, pollingInterval = 500 }: ResolveActionAttemptOptions,
13+
{ timeout = 10_000, pollingInterval = 1_000 }: ResolveActionAttemptOptions,
1414
): Promise<SucceededActionAttempt<T>> => {
1515
let timeoutRef
1616
const timeoutPromise = new Promise<SucceededActionAttempt<T>>(

0 commit comments

Comments
 (0)