Sha256: a47fd07f1683ef4382af92d445a249f8b398f4d074783a2ff8d11a3948a003b9

Contents?: true

Size: 225 Bytes

Versions: 1

Compression:

Stored size: 225 Bytes

Contents

module Vx
  module Worker

    LogJob = Struct.new(:app) do

      include Helper::Instrument

      def call(env)
        instrument("starting_job", env.job.instrumentation)
        app.call env
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vx-worker-0.3.0.pre1 lib/vx/worker/middlewares/log_job.rb