Sha256: bdea63d651915fc14fe8bb8752447baad31b5ee221933300563aeca90d028730
Contents?: true
Size: 277 Bytes
Versions: 22
Compression:
Stored size: 277 Bytes
Contents
module Spina class ResourcePagesUpdateJob < ApplicationJob queue_as { Spina.config.queues[:page_updates] } def perform(resource_id) Page.where(resource_id: resource_id).roots.find_each(batch_size: 100) do |page| page.save end end end end
Version data entries
22 entries across 22 versions & 1 rubygems