Sha256: 424086c142f33e75ae07f19c612ea87f2b040f1ab370ea5f43de0d3e7e42171d

Contents?: true

Size: 144 Bytes

Versions: 13

Compression:

Stored size: 144 Bytes

Contents

class MultipleJob
  include SuckerPunch::Job
  workers 4

  def perform
    5.times do
      STORE << Time.now
      sleep 1
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
sucker_punch-1.5.0 rails_app_example/app/jobs/multiple_job.rb
sucker_punch-1.4.0 rails_app_example/app/jobs/multiple_job.rb
sucker_punch-1.3.2 rails_app_example/app/jobs/multiple_job.rb
sucker_punch-1.3.1 rails_app_example/app/jobs/multiple_job.rb
sucker_punch-1.3.0 rails_app_example/app/jobs/multiple_job.rb
sucker_punch-1.2.1 rails_app_example/app/jobs/multiple_job.rb
sucker_punch-1.2 rails_app_example/app/jobs/multiple_job.rb
sucker_punch-1.1 rails_app_example/app/jobs/multiple_job.rb
sucker_punch-1.0.5 rails_app_example/app/jobs/multiple_job.rb
sucker_punch-1.0.4 rails_app_example/app/jobs/multiple_job.rb
sucker_punch-1.0.3 rails_app_example/app/jobs/multiple_job.rb
sucker_punch-1.0.2 rails_app_example/app/jobs/multiple_job.rb
sucker_punch-1.0.1 rails_app_example/app/jobs/multiple_job.rb