Skip to content

Conversation

@jaeopt
Copy link
Contributor

@jaeopt jaeopt commented Jan 26, 2026

Summary

This PR increases the maximum retry time interval for CMAB requests from 10 seconds to 3 seconds. This change optimizes the retry behavior to reduce unnecessary wait times during failed requests.

Changes

  • Updated DEFAULT_MAX_BACKOFF constant from 10 seconds to 3 seconds in optimizely/cmab/cmab_client.py
  • This affects the exponential backoff retry logic for CMAB prediction service requests

Jira Ticket

FSSDK-12248

Testing

  • Existing unit tests should pass with this configuration change
  • Retry behavior will cap at 3 seconds instead of 10 seconds during exponential backoff

Notes

  • This is a configuration change that reduces the maximum wait time between retries
  • No breaking changes or API modifications

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@jaeopt jaeopt closed this Jan 26, 2026
@jaeopt jaeopt deleted the ai/jaeopt/FSSDK-12248-test-ai-fssdk branch January 26, 2026 19:41
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