Skip to content

Commit a35f901

Browse files
authored
chore: Tweak long init warning (#280)
1 parent 61f4c7e commit a35f901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ldclient-rb/ldclient.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def initialize(sdk_key, config = Config.default, wait_for_sec = 5)
128128
return unless wait_for_sec > 0
129129

130130
if wait_for_sec > 60
131-
@config.logger.warn { "[LDClient] LDClient was instantiated with a timeout greater than 60 seconds. We recommend a timeout of less than 60 seconds." }
131+
@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." }
132132
end
133133

134134
ok = ready.wait(wait_for_sec)

0 commit comments

Comments
 (0)