From 34a1f752e2ec692ac4a740cd013ff112ebf77d37 Mon Sep 17 00:00:00 2001 From: Matthew Keeler Date: Fri, 17 May 2024 12:13:24 -0400 Subject: [PATCH] chore: Tweak long init warning --- lib/ldclient-rb/ldclient.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ldclient-rb/ldclient.rb b/lib/ldclient-rb/ldclient.rb index 51e5dfc7..742d4830 100644 --- a/lib/ldclient-rb/ldclient.rb +++ b/lib/ldclient-rb/ldclient.rb @@ -128,7 +128,7 @@ def initialize(sdk_key, config = Config.default, wait_for_sec = 5) return unless wait_for_sec > 0 if wait_for_sec > 60 - @config.logger.warn { "[LDClient] LDClient was instantiated with a timeout greater than 60 seconds. We recommend a timeout of less than 60 seconds." } + @config.logger.warn { "[LDClient] Client was configured to block for up to #{wait_for_sec} seconds when initializing. We recommend blocking no longer than 60." } end ok = ready.wait(wait_for_sec)