Skip to content

Commit

Permalink
Test wait_time_seconds:10
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Cantero committed Dec 24, 2016
1 parent ac52dab commit 1fc4146
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file added Thread-pool wait 10 seconds.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions lib/shoryuken/fetcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ def receive_messages(queue, limit)
options[:max_number_of_messages] = limit
options[:message_attribute_names] = %w(All)
options[:attribute_names] = %w(All)
options[:wait_time_seconds] = 10


options.merge!(queue.options)

Expand Down

0 comments on commit 1fc4146

Please sign in to comment.