Skip to content

Commit 2b31c67

Browse files
committed
docs: remove tabbed content for single timeout snippet
Signed-off-by: heitorlessa <[email protected]>
1 parent 2e7bcc8 commit 2b31c67

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/utilities/idempotency.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -305,11 +305,9 @@ By default, we protect against [concurrent executions](#handling-concurrent-exec
305305

306306
To prevent extended failures, use **`register_lambda_context`** function from your idempotency config to calculate and include the remaining invocation time in your idempotency record.
307307

308-
=== "Registering the Lambda context"
309-
310-
```python title="working_with_lambda_timeout.py" hl_lines="11 20"
311-
--8<-- "examples/idempotency/src/working_with_lambda_timeout.py"
312-
```
308+
```python title="working_with_lambda_timeout.py" hl_lines="11 20"
309+
--8<-- "examples/idempotency/src/working_with_lambda_timeout.py"
310+
```
313311

314312
???+ example "Mechanics"
315313
If a second invocation happens **after** this timestamp, and the record is marked as `INPROGRESS`, we will run the invocation again as if it was in the `EXPIRED` state.

0 commit comments

Comments
 (0)