From 088ba33759046e4ddc9a647b6596f4d59fcd19a4 Mon Sep 17 00:00:00 2001 From: Maurizio Branca Date: Fri, 29 Nov 2024 16:17:06 +0100 Subject: [PATCH] Set max_records to 20 --- handlers/aws/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/aws/utils.py b/handlers/aws/utils.py index 753852a2..94ead75b 100644 --- a/handlers/aws/utils.py +++ b/handlers/aws/utils.py @@ -129,7 +129,7 @@ def wrapper(lambda_event: dict[str, Any], lambda_context: context_.Context) -> s "exception raised", exc_info=e, extra={ - "summary": summarize_lambda_event(lambda_event), + "summary": summarize_lambda_event(lambda_event, max_records=20), }, )