Sha256: 07333ac888bf194e5e53804a948c9f13a91aef1ae42dabc17586030c2afb1c44
Contents?: true
Size: 410 Bytes
Versions: 9
Compression:
Stored size: 410 Bytes
Contents
# frozen_string_literal: true module Shipit class CreateOnGithubJob < BackgroundJob include BackgroundJob::Unique queue_as :default on_duplicate :drop # We observe that some objects regularly take longer than the default 10 seconds to create, e.g. deployments self.timeout = 40 self.lock_timeout = 20 def perform(record) record.reload.create_on_github! end end end
Version data entries
9 entries across 9 versions & 1 rubygems