class

Task::CollectFeedOrphans

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

Collection task for orphaned feed state.

A feed memoizes its judgments as Feed::Verdicts and materializes its membership as relationships rows carrying the synthetic Feed::<id> type. This task collects both when the object they refer to no longer exists.

Constants

Log = ::Log.for(self)
SWEEP_INTERVAL = 5.minutes
SWEEP_SIZE = 250

Constructors

current_instance

Returns the current active instance of this singleton task.

Creates and saves a new instance if no active instance exists.

Source

Class methods

ensure_scheduled

Ensures the singleton task is scheduled.

Typically called on server startup to ensure singleton tasks are created and scheduled.

Source
find_active

Finds the active instance.

Returns nil if no active instance exists.

Source

Instance methods

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

Nested types