Skip to content

Commit

Permalink
Decrease the heartbeat interval to 0.25
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Cantero committed Dec 23, 2016
1 parent 3962069 commit eb2edff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shoryuken/manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def initialize(fetcher, polling_strategy)
@fetcher = fetcher
@polling_strategy = polling_strategy

@heartbeat = Concurrent::TimerTask.new(run_now: true, execution_interval: 1, timeout_interval: 60) { dispatch }
@heartbeat = Concurrent::TimerTask.new(run_now: true, execution_interval: 0.25, timeout_interval: 60) { dispatch }

@ready = Concurrent::AtomicFixnum.new(@count)

Expand Down

0 comments on commit eb2edff

Please sign in to comment.