Commit f437545
committed
feat(sdk): configure Lambda client timeouts
Add connection and socket timeout configurations to LambdaClient to improve reliability:
- connectionTimeout: 5000ms (5 seconds)
- socketTimeout: 50000ms (50 seconds)
This helps prevent hanging requests and provides better error handling for Lambda API calls.
Updated api-storage test to verify LambdaClient is initialized with timeout settings.1 parent efa419a commit f437545
File tree
2 files changed
+12
-2
lines changed- packages/aws-durable-execution-sdk-js/src/storage
2 files changed
+12
-2
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
0 commit comments