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 as ‘Sidekiq::Web` here, so a Pro app’s ‘mount Sidekiq::Pro::Web` drops in unchanged. `Wurk::Web` is 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/<bid>.json. Spec: docs/target/sidekiq-pro.md §10.3.

Wurk::Web::BatchStatus

Class Method Summary collapse

Class Method Details

.dogstatsdObject



40
41
42
# File 'lib/wurk/compat.rb', line 40

def dogstatsd
  Wurk.configuration.dogstatsd
end

.dogstatsd=(builder) ⇒ Object



36
37
38
# File 'lib/wurk/compat.rb', line 36

def dogstatsd=(builder)
  Wurk.configuration.dogstatsd = builder
end