Skip to content

Commit d152455

Browse files
authored
chore: Tweak long init warning (#296)
1 parent 08514fe commit d152455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ldclient/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def __init__(self, config: Config, start_wait: float=5):
229229

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

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

0 commit comments

Comments
 (0)