Skip to content

Commit

Permalink
chore: Tweak long init warning (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
keelerm84 committed May 17, 2024
1 parent 08514fe commit d152455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldclient/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def __init__(self, config: Config, start_wait: float=5):

if not self._config.offline and not self._config.use_ldd:
if start_wait > 60:
log.warning("LDClient was instantiated with a timeout greater than 60 seconds. We recommend a timeout of less than 60 seconds.")
log.warning(f"Client was configured to block for up to {start_wait} seconds when initializing. We recommend blocking no longer than 60.")

if start_wait > 0:
log.info("Waiting up to " + str(start_wait) + " seconds for LaunchDarkly client to initialize...")
Expand Down

0 comments on commit d152455

Please sign in to comment.