Skip to content

Commit

Permalink
Remove retry workaround (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
balanza authored Dec 14, 2022
1 parent eeaa209 commit d3bd35d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CreateSubscription/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export function CreateSubscriptionHandler(
// In accordance with Azure support, we decided to retry the request on such case
withRetry({
delayMS: 200,
maxAttempts: 3,
maxAttempts: 1, // FIXME: remove retry wrapper
whileCondition: f => isErrorStatusCode(f, 412)
}),
retrieable => TE.tryCatch(retrieable, identity),
Expand Down

0 comments on commit d3bd35d

Please sign in to comment.