Sha256: ae6a1b9b4038012849cd8cdaf70bad520618d05d9f621e7736eb25fa2b23dd54

Contents?: true

Size: 410 Bytes

Versions: 7

Compression:

Stored size: 410 Bytes

Contents

module RocketJob
  module Subscribers
    # Cause all instances to refresh their in-memory copy
    # of the Secret Config Registry
    #
    #   RocketJob::Subscribers::SecretConfig.publish(:refresh)
    class SecretConfig
      include RocketJob::Subscriber

      def refresh
        logger.measure_info "Refreshed Secret Config" do
          ::SecretConfig.refresh!
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rocketjob-6.3.1 lib/rocket_job/subscribers/secret_config.rb
rocketjob-6.3.0 lib/rocket_job/subscribers/secret_config.rb
rocketjob-6.2.0 lib/rocket_job/subscribers/secret_config.rb
rocketjob-6.1.1 lib/rocket_job/subscribers/secret_config.rb
rocketjob-6.1.0 lib/rocket_job/subscribers/secret_config.rb
rocketjob-6.0.3 lib/rocket_job/subscribers/secret_config.rb
rocketjob-6.0.2 lib/rocket_job/subscribers/secret_config.rb