From 22e7ea0ed8ac3c89dd640af83b0297e902d8ab4e Mon Sep 17 00:00:00 2001 From: Anders Carling Date: Wed, 19 Jun 2019 16:01:20 +0200 Subject: [PATCH] Add attr_accessor for `stop_callback` Accidentally removed in #534 --- lib/shoryuken/options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shoryuken/options.rb b/lib/shoryuken/options.rb index dbece95f..773bc042 100644 --- a/lib/shoryuken/options.rb +++ b/lib/shoryuken/options.rb @@ -16,7 +16,7 @@ class Options attr_accessor :active_job_queue_name_prefixing, :cache_visibility_timeout, :default_worker_options, :groups, :launcher_executor, :sqs_client, :sqs_client_receive_message_opts, - :start_callback, :worker_executor, :worker_registry + :start_callback, :stop_callback, :worker_executor, :worker_registry def initialize self.groups = {}