Shoryuken Configs #847
Closed
sbhatlassian
started this conversation in
General
Replies: 1 comment
-
You are not loading Shoryuken correctly and/or it is not picking it up. This happened to me when I was loading the Shoryuken.options
=>
{thread_priority: -2,
concurrency: 25,
queues: [["queue1", 1], ["queue2", 1]],
aws: {access_key_id: "test", secret_access_key: "test", region: "us-east-1", endpoint: "http://localhost:4566"},
delay: 0.0,
timeout: 8,
lifecycle_events: {startup: [], dispatch: [], utilization_update: [], quiet: [], shutdown: [], stopped: []},
config_file: "spec/shoryuken.yml"} In places like irb you may want to load it via env loader: # Load the configuration
loader = Shoryuken::EnvironmentLoader.setup_options(config_file: 'spec/shoryuken.yml')
loader.load |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Development 10:28:11 [1] (main)> Shoryuken.options
=> {:concurrency=>25, :queues=>[], :aws=>{}, :delay=>0.0, :timeout=>8, :lifecycle_events=>{:startup=>[], :dispatch=>[], :utilization_update=>[], :quiet=>[], :shutdown=>[], :stopped=>[]}}
why i am getting this when doing Shoryuken.options in rails console ??
this is my config/shoryuken.yml file
??
Beta Was this translation helpful? Give feedback.
All reactions