class

Task::BackfillFeed

Inherits Task < Ktistec::Model::Polymorphic < Ktistec::Model::Common < Ktistec::Model < Reference < Object

Backfills a feed with posts that match its criteria.

Constants

BATCH_INTERVAL = 5.seconds
BATCH_SIZE = 250
Log = ::Log.for(self)

Class methods

destroy_for(feed : Feed) : Nil

Destroys a feed's backfill.

Source
exists?(iri) : Bool

Returns whether a backfill exists and is not complete.

Source
iri_for(feed : Feed) : String

Returns the IRI that identifies a feed's backfill.

Source
schedule_for(feed : Feed) : self | Nil

Schedules a backfill for a feed.

Source

Instance methods

feed?

Returns the feed being backfilled, or nil if it's gone.

Source
perform(batch_size = BATCH_SIZE)
Source
state
Source
state=(state : State)
Source

Nested types