Sha256: 9f9f0507988726936b44e204c76ed53bdc4f3431321c4a807dec7dab216cdb42
Contents?: true
Size: 285 Bytes
Versions: 13
Compression:
Stored size: 285 Bytes
Contents
module Sentry class BackgroundWorker def _perform(&block) # make sure the background worker returns AR connection if it accidentally acquire one during serialization ActiveRecord::Base.connection_pool.with_connection do block.call end end end end
Version data entries
13 entries across 13 versions & 1 rubygems