Skip to content

Commit 2c4ca05

Browse files
committed
polishing
1 parent 92acce6 commit 2c4ca05

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

splitio/sync/synchronizer.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -314,11 +314,10 @@ def sync_all(self, max_retry_attempts=_SYNC_ALL_NO_RETRIES):
314314
except Exception as exc: # pylint:disable=broad-except
315315
_LOGGER.error("Exception caught when trying to sync all data: %s", str(exc))
316316
_LOGGER.debug('Error: ', exc_info=True)
317-
318-
retry_attempts = self._retry_block(max_retry_attempts, retry_attempts)
319-
if max_retry_attempts != -1 and retry_attempts == -1:
320-
break
321-
continue
317+
retry_attempts = self._retry_block(max_retry_attempts, retry_attempts)
318+
if max_retry_attempts != -1 and retry_attempts == -1:
319+
break
320+
continue
322321

323322
_LOGGER.error("Could not correctly synchronize splits and segments after %d attempts.", retry_attempts)
324323

0 commit comments

Comments
 (0)