-
-
Notifications
You must be signed in to change notification settings - Fork 289
Long Polling
Yohta Kimura edited this page May 12, 2023
·
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 }
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.