Skip to content

Commit 3690fba

Browse files
Update docs/docs/exosphere/retry-policy.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 06b6e48 commit 3690fba

1 file changed

Lines changed: 11 additions & 18 deletions

File tree

docs/docs/exosphere/retry-policy.md

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -435,24 +435,17 @@ async def create_graph_with_retry_policy():
435435

436436
**Available Retry Strategies:**
437437

438-
```python
439-
from exospherehost import RetryStrategyEnum
440-
441-
# Exponential strategies
442-
RetryStrategyEnum.EXPONENTIAL # Pure exponential backoff
443-
RetryStrategyEnum.EXPONENTIAL_FULL_JITTER # Exponential with full randomization
444-
RetryStrategyEnum.EXPONENTIAL_EQUAL_JITTER # Exponential with 50% randomization
445-
446-
# Linear strategies
447-
RetryStrategyEnum.LINEAR # Linear backoff
448-
RetryStrategyEnum.LINEAR_FULL_JITTER # Linear with full randomization
449-
RetryStrategyEnum.LINEAR_EQUAL_JITTER # Linear with 50% randomization
450-
451-
# Fixed strategies
452-
RetryStrategyEnum.FIXED # Fixed delay
453-
RetryStrategyEnum.FIXED_FULL_JITTER # Fixed with full randomization
454-
RetryStrategyEnum.FIXED_EQUAL_JITTER # Fixed with 50% randomization
455-
```
438+
- `RetryStrategyEnum.EXPONENTIAL`: Pure exponential backoff
439+
- `RetryStrategyEnum.EXPONENTIAL_FULL_JITTER`: Exponential with full randomization
440+
- `RetryStrategyEnum.EXPONENTIAL_EQUAL_JITTER`: Exponential with 50% randomization
441+
442+
- `RetryStrategyEnum.LINEAR`: Linear backoff
443+
- `RetryStrategyEnum.LINEAR_FULL_JITTER`: Linear with full randomization
444+
- `RetryStrategyEnum.LINEAR_EQUAL_JITTER`: Linear with 50% randomization
445+
446+
- `RetryStrategyEnum.FIXED`: Fixed delay
447+
- `RetryStrategyEnum.FIXED_FULL_JITTER`: Fixed with full randomization
448+
- `RetryStrategyEnum.FIXED_EQUAL_JITTER`: Fixed with 50% randomization
456449

457450
**Example Configurations:**
458451

0 commit comments

Comments
 (0)