Sha256: 83a6c9174d123a56def2edc23579ea4f1b8e7586186b43a3d73f364fcbad929e

Contents?: true

Size: 214 Bytes

Versions: 9

Compression:

Stored size: 214 Bytes

Contents

require "redis"
require "net/http"

class FastJob
  @queue = :critical

  def self.perform
    redis = Redis.new(url: ENV['REDIS_URL'])

    dt = Time.now
    redis.set('ts', dt)
    redis.set(:nb_id, 2)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
instana-1.9.7 test/jobs/resque_fast_job.rb
instana-1.9.6 test/jobs/resque_fast_job.rb
instana-1.9.5 test/jobs/resque_fast_job.rb
instana-1.9.4 test/jobs/resque_fast_job.rb
instana-1.9.3 test/jobs/resque_fast_job.rb
instana-1.9.2 test/jobs/resque_fast_job.rb
instana-1.9.1 test/jobs/resque_fast_job.rb
instana-1.9.0 test/jobs/resque_fast_job.rb
instana-1.9.0.daftrabbit test/jobs/resque_fast_job.rb