Skip to content

Commit 200c7f2

Browse files
committed
fix: Added validations and retry settings
1 parent fec06cb commit 200c7f2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/services/sns/data.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import { convertAwsTagsToTagMap } from '../../utils/format'
2121
import AwsErrorLog from '../../utils/errorLog'
2222
import { initTestEndpoint, setAwsRetryOptions } from '../../utils'
2323
import {
24-
API_GATEWAY_CUSTOM_DELAY,
2524
MAX_FAILED_AWS_REQUEST_RETRIES,
25+
SNS_CUSTOM_DELAY,
2626
} from '../../config/constants'
2727

2828
const lt = { ...awsLoggerText }
@@ -32,7 +32,7 @@ const errorLog = new AwsErrorLog(serviceName)
3232
const endpoint = initTestEndpoint(serviceName)
3333
const customRetrySettings = setAwsRetryOptions({
3434
maxRetries: MAX_FAILED_AWS_REQUEST_RETRIES,
35-
baseDelay: API_GATEWAY_CUSTOM_DELAY,
35+
baseDelay: SNS_CUSTOM_DELAY,
3636
})
3737

3838
/**

0 commit comments

Comments
 (0)