-
-
Notifications
You must be signed in to change notification settings - Fork 289
Long Polling
Pablo Cantero edited this page Oct 16, 2018
·
6 revisions
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 }
If you are not using Rails --rails
, which auto loads initializers, just add that configuration to the file you require --require
for starting Shoryuken.