feat/retry-mechanism #1

Merged
houhuan merged 4 commits from feat/retry-mechanism into main 2025-12-24 11:07:22 +08:00
Owner
No description provided.
houhuan added 4 commits 2025-12-24 11:07:09 +08:00
- Add app/utils/retry.py with configurable async retry decorator
- Update DeliveryLog model to track attempt_count and latency_seconds
- Apply @http_retry to engine._exec_forward and _exec_notify methods
- Update save_logs to record retry metadata
- Add comprehensive unit tests for retry functionality
- Support configuration via environment variables (RETRY_*)

This improves reliability for downstream HTTP calls by automatically
retrying transient failures with exponential backoff and jitter.
houhuan merged commit d75101bb0f into main 2025-12-24 11:07:22 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: houhuan/WebhockTransfer#1
No description provided.