DevFixes
LabsCloud LabAdvanced
Cloud Lab / Challenge 01

The function that times out on a large batch

Bound the work performed in one invocation so the health check completes.

16 min/AWS Lambda / timeouts / bounded work
Observe
Investigate
Fix
Verify
Reflect
handler.mjs/javascript
01020304050607
Terminal0 runs
START RequestId: 2f81
Task timed out after 3.00 seconds
END RequestId: 2f81

The account contains 4,812 pages. One invocation tries to process all of them.
$