Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Luiz Henrique Gomes committed Jul 2, 2021
1 parent b470562 commit 1420e98
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,14 @@ If the event source send multiple records to be processed, you can enable Multit
Environment variable called ``THREADING_ENABLED`` with value ``TRUE``. This will make a loop into event records, starting a
thread for each record. Your handler will receive each record in a separeted call, inside a thread model.

Batch Mode
----------
If the event source send multiple records to be processed, the layer will execute your handler one time for each record.
To disable this behaviour, just create a variable called ``BATCH_REQUEST`` with value ``FALSE``. This option only works
if the ``THREADING_ENABLED`` was not set to ``TRUE``

Logging
--------
-------
You can define the general log verbosity level using a Environment variable called ``LOG_LEVEL`` and the boto3 log level
using a Environment variable called ``BOTO_LOG_LEVEL``.

Expand All @@ -82,7 +88,7 @@ The default values are:
BOTO_LOG_LEVEL` = 'CRITICAL'
Credits
--------
-------
Decorator implementation inspired by https://github.com/aws-cloudformation/custom-resource-helper

Log implementation inspired by https://gitlab.com/hadrien/aws_lambda_logging
Expand Down

0 comments on commit 1420e98

Please sign in to comment.