Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 656 Bytes

File metadata and controls

13 lines (8 loc) · 656 Bytes

By default Shoryuken does not use Long Polling, for turning it on, you need to configure it as follows:

# config/initializers/shoryuken.rb
Shoryuken.sqs_client_receive_message_opts = { wait_time_seconds: 20 }

For group see Long polling per group.

If you are not using Rails --rails, which auto loads initializers, just add that configuration to the file you require --require for starting Shoryuken.

See [[Receive Message options]].