From 81e18ae9a49a5b98880bc282d462e9eb564eb87e Mon Sep 17 00:00:00 2001 From: Matthew Keeler Date: Fri, 17 May 2024 12:10:42 -0400 Subject: [PATCH] chore: Tweak long init warning --- ldclient/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldclient/client.py b/ldclient/client.py index 2fcfac1..5e84e10 100644 --- a/ldclient/client.py +++ b/ldclient/client.py @@ -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...")