You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**raise_on_no_idempotency_key** | `False` | Raise exception if no idempotency key was found in the request
260
261
**expires_after_seconds** | 3600 | The number of seconds to wait before a record is expired
261
262
**use_local_cache** | `False` | Whether to locally cache idempotency results
262
-
**local_cache_max_items** | 1024 | Max number of items to store in local cache
263
+
**local_cache_max_items** | 256 | Max number of items to store in local cache
263
264
**hash_function** | `md5` | Function to use for calculating hashes, as provided by [hashlib](https://docs.python.org/3/library/hashlib.html) in the standard library.
264
265
265
266
### Handling concurrent executions with the same payload
@@ -281,16 +282,15 @@ You can enable in-memory caching with the **`use_local_cache`** parameter:
281
282
282
283
=== "app.py"
283
284
284
-
```python hl_lines="6 8 11"
285
+
```python hl_lines="8 11"
285
286
from aws_lambda_powertools.utilities.idempotency import (
0 commit comments