Skip to content

Conversation

@jaeopt
Copy link
Contributor

@jaeopt jaeopt commented Jan 29, 2026

Summary

This PR increases the maximum retry time interval for ODP event flushing from 1 second to 3 seconds. This change allows for longer backoff periods in retry scenarios, improving resilience during temporary service disruptions.

Changes

  • Updated max_retry_interval from 1.0 to 3.0 seconds in optimizely/odp/odp_event_manager.py
  • Updated inline comment to reflect new 3-second cap for exponential backoff

Jira Ticket

FSSDK-12248

Testing

  • Code change is straightforward constant update
  • Existing unit tests remain valid as they don't hardcode the interval value
  • Will be verified through CI/CD pipeline

Notes

  • This change only affects the maximum cap for retry intervals
  • The exponential backoff strategy remains the same (200ms, 400ms, 800ms, ...), now capped at 3s instead of 1s
  • No breaking changes or migration required

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@jaeopt jaeopt closed this Jan 29, 2026
@jaeopt jaeopt deleted the ai/jaeopt/FSSDK-12248-retry-interval branch January 29, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants