diff --git a/lib/flagsmith/sdk/intervals.rb b/lib/flagsmith/sdk/intervals.rb index 321cd76..b832f79 100644 --- a/lib/flagsmith/sdk/intervals.rb +++ b/lib/flagsmith/sdk/intervals.rb @@ -9,8 +9,8 @@ module Intervals def set_interval(delay) Thread.new do loop do - sleep delay yield if block_given? + sleep delay end end end