Commit 913d81a
fix(lambda): bump PostOrder/PostLimitOrder memorySize 512→1024 MB (#658)
Both handlers iterate SUPPORTED_CHAINS at module load to build
StaticJsonRpcProvider + OrderValidator (+ V4 for PostOrder) maps. With
the V3 multi-chain rollout taking the list from ~4 to 18 chains, cold-
start blew past 512 MB:
INIT_REPORT Init Duration: 3609.31 ms Phase: init Status: error
Error Type: Runtime.OutOfMemory
Surfaced as 2-second axios timeouts from param-api → x-service. Other
handlers with the same pattern (check-order-status, get-orders) are
already at 1024 MB.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 17949e8 commit 913d81a
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
225 | 227 | | |
226 | 228 | | |
227 | 229 | | |
| |||
237 | 239 | | |
238 | 240 | | |
239 | 241 | | |
240 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
241 | 245 | | |
242 | 246 | | |
243 | 247 | | |
| |||
0 commit comments