SIENTIAPDE-1081
Enhance documentation across multiple modules with detailed parameter descriptions and usage examples
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
"""
|
||||
|
||||
Laborious Temporal Workflows Retry Policies
|
||||
|
||||
This module defines retry policies for Temporal workflows in the Laborious system.
|
||||
These policies ensure reliable execution of ML prediction workflows by automatically
|
||||
retrying failed operations with exponential backoff.
|
||||
|
||||
The retry_policy variable configures:
|
||||
- Initial retry interval of 1 second
|
||||
- Exponential backoff coefficient of 2.0
|
||||
- Maximum retry interval capped at 1 minute
|
||||
- Maximum of 1 retry attempt
|
||||
|
||||
This configuration helps prevent cascading failures while maintaining system responsiveness.
|
||||
|
||||
"""
|
||||
from datetime import timedelta
|
||||
from temporalio.common import RetryPolicy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user