Skip to content

Commit dddf523

Browse files
committed
fix: increase backoffFactor for delay between retries
1 parent ea41e09 commit dddf523

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.68.2] - 2025-11-06
8+
9+
### Fixed
10+
11+
- The backoff factor used for all retry attempts has been increased from 1 to 3. This means that the wait time between consecutive retry attempts will now increase more rapidly, allowing for more time between each retry. This helps to reduce repeated rapid requests to the server in case of failures and improves overall stability when transient errors occur.
12+
713
## [1.68.1] - 2024-01-12
814

915
### Added

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def run(self):
121121

122122
setup(
123123
name="vwo-python-sdk",
124-
version="1.68.1",
124+
version="1.68.2",
125125
description="Python SDK for VWO server-side A/B Testing",
126126
long_description=long_description,
127127
long_description_content_type="text/markdown",

vwo/http/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __init__(self):
3737
self.session = requests.Session()
3838
retry_strategy = Retry(
3939
total=3,
40-
backoff_factor=1,
40+
backoff_factor=3,
4141
status_forcelist=[429, 500, 502, 503, 504],
4242
allowed_methods=["HEAD", "GET", "OPTIONS", "POST"],
4343
raise_on_status=False,

0 commit comments

Comments
 (0)