Skip to content

Commit

Permalink
chore: Tweak long init warning (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
keelerm84 authored May 17, 2024
1 parent 61f4c7e commit a35f901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ldclient-rb/ldclient.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a35f901

Please sign in to comment.