mirror of
https://github.com/Sea-Haven-Industries/seahaven-door-unlock-api.git
synced 2026-09-30 05:53:12 +00:00
fix: raise unlock Lambda timeout to 20s (#29)
The door-unlock-api-unlock function hit its 10,000ms timeout on 2026-06-05 at 18:00 UTC during a cold start combined with a slow LenelS2 Elements API call (REPORT: Duration 10000.00 ms, Status: timeout). A concurrent attempt succeeded in 3639ms, confirming the call path is healthy but lacks margin under cold-start + slow-API conditions. Raise the UnlockHandler timeout from 10s to 20s for additional headroom. LockdownHandler (15s) and the poller (75s) are unchanged.
This commit is contained in:
parent
1a3eb51628
commit
565d4af4fd
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ export class DoorUnlockStack extends cdk.Stack {
|
|||
AUTH_TOKEN_PARAM: "/seahaven/door-unlock/auth-token",
|
||||
DOOR_ID_PARAM: "/seahaven/door-unlock/door-id",
|
||||
},
|
||||
timeout: cdk.Duration.seconds(10),
|
||||
timeout: cdk.Duration.seconds(20),
|
||||
memorySize: 128,
|
||||
logRetention: logs.RetentionDays.TWO_MONTHS,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue