Class: SidekiqUniqueJobs::Middleware::Client
- Inherits:
-
Object
- Object
- SidekiqUniqueJobs::Middleware::Client
- Includes:
- Sidekiq::ClientMiddleware, SidekiqUniqueJobs::Middleware, Reflectable
- Defined in:
- lib/sidekiq_unique_jobs/middleware/client.rb
Overview
The unique sidekiq middleware for the client push
Instance Attribute Summary
Attributes included from SidekiqUniqueJobs::Middleware
Instance Method Summary collapse
-
#call { ... } ⇒ Object
Calls this client middleware Used from Sidekiq.process_single.
Methods included from Reflectable
Methods included from JSON
dump_json, load_json, safe_load_json
Methods included from OptionsWithFallback
included, #lock_class, #lock_instance, #lock_type, #locks, #options, #unique_disabled?, #unique_enabled?
Methods included from Logging::Middleware
Methods included from Logging
#build_message, included, #log_debug, #log_error, #log_fatal, #log_info, #log_warn, #logger, #logging_context, #with_configured_loggers_context, #with_logging_context
Instance Method Details
#call { ... } ⇒ Object
Calls this client middleware
Used from Sidekiq.process_single
28 29 30 |
# File 'lib/sidekiq_unique_jobs/middleware/client.rb', line 28 def call(*, &block) lock(&block) end |