lib/wcc/contentful/sync_engine.rb in wcc-contentful-1.3.2 vs lib/wcc/contentful/sync_engine.rb in wcc-contentful-1.4.0.rc1
- old
+ new
@@ -136,10 +136,10 @@
# Define the job only if rails is loaded
if defined?(ActiveJob)
# This job uses the Contentful Sync API to update the configured store with
# the latest data from Contentful.
class Job < ActiveJob::Base
- self.queue_adapter = :async
+ self.queue_adapter ||= :async
queue_as :default
def configuration
@configuration ||= WCC::Contentful.configuration
end