Skip to content

Commit 874304e

Browse files
committed
servereless changes in authorizer
1 parent 2d9b1ae commit 874304e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

metering/serverless.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ functions:
5555
arn: ${file(./config.${self:provider.stage}.json):SIGN_AUTHORIZER}
5656
identitySource: ${file(./config.${self:provider.stage}.json):SIGN_HEADERS}
5757
name: verify_authorizer
58-
resultTtlInSeconds: 0
58+
resultTtlInSeconds: 100
5959
cors:
6060
origin: ${self:custom.origin.${self:provider.stage}}
6161
headers:
@@ -89,7 +89,7 @@ functions:
8989
arn: ${file(./config.${self:provider.stage}.json):SIGN_AUTHORIZER}
9090
identitySource: ${file(./config.${self:provider.stage}.json):SIGN_HEADERS}
9191
name: freecall_authorizer
92-
resultTtlInSeconds: 0
92+
resultTtlInSeconds: 100
9393
cors:
9494
origin: ${self:custom.origin.${self:provider.stage}}
9595
headers:
@@ -122,7 +122,7 @@ functions:
122122
arn: ${file(./config.${self:provider.stage}.json):SIGN_AUTHORIZER}
123123
identitySource: ${file(./config.${self:provider.stage}.json):SIGN_HEADERS}
124124
name: usage_authorizer
125-
resultTtlInSeconds: 0
125+
resultTtlInSeconds: 100
126126
cors:
127127
origin: ${self:custom.origin.${self:provider.stage}}
128128
headers:

0 commit comments

Comments
 (0)