Module: Sidekiq::Pro
- Defined in:
- lib/wurk/compat.rb
Overview
Namespace sentinels for Pro/Ent feature subclasses (Sidekiq::Pro::Web,
Sidekiq::Enterprise::Crypto, …). Defined so downstream code can nest
classes under them — but Sidekiq.pro? / Sidekiq.ent? still return
false per docs/target/sidekiq-free.md §32 (Wurk advertises as free OSS).
Constant Summary collapse
- Web =
Sidekiq Pro mounts the dashboard at
Sidekiq::Pro::Web; it's the same board asSidekiq::Webhere, so a Pro app'smount Sidekiq::Pro::Webdrops in unchanged.Wurk::Webis already required by the time this file loads (lib/wurk.rb requires wurk/web before wurk/compat). Wurk::Web
- BatchStatus =
use Sidekiq::Pro::BatchStatus— the polling Rack middleware that serves GET /batch_status/.json. Spec: docs/target/sidekiq-pro.md §10.3. Wurk::Web::BatchStatus
Class Method Summary collapse
Class Method Details
.dogstatsd ⇒ Object
59 60 61 |
# File 'lib/wurk/compat.rb', line 59 def dogstatsd Wurk.configuration.dogstatsd end |
.dogstatsd=(builder) ⇒ Object
55 56 57 |
# File 'lib/wurk/compat.rb', line 55 def dogstatsd=(builder) Wurk.configuration.dogstatsd = builder end |