Task
Inherits Ktistec::Model::Polymorphic < Ktistec::Model::Common < Ktistec::Model < Reference < Object
Background task.
By default, background tasks are processed sequentially.
Constants
Adaptive randomization percentage for long intervals.
This percentage represents the total randomization range (e.g., 0.025 = 2.5%
total range, meaning ±1.25%). Used when adaptive randomization is enabled
and the interval is greater than or equal to ADAPTIVE_RANDOMIZATION_THRESHOLD.
Adaptive randomization percentage for short intervals.
This percentage represents the total randomization range (e.g., 0.05 = 5%
total range, meaning ±2.5%). Used when adaptive randomization is enabled
and the interval is shorter than ADAPTIVE_RANDOMIZATION_THRESHOLD.
Threshold for adaptive randomization calculation .
Intervals shorter than this use ADAPTIVE_RANDOMIZATION_PERCENTAGE_SHORT.
Intervals longer than or equal to this use ADAPTIVE_RANDOMIZATION_PERCENTAGE_LONG.
Minimum time span that failures must cover to mark a recipient as down. FAILED_TASK_RETENTION must exceed this value.
Retention period for completed tasks with failures. This must exceed DOWN_DETECTION_SPAN to ensure failure data is available for down detection.
Minimum time delta threshold for applying randomization.
Task scheduling deltas below this threshold will not be randomized to maintain precision for short-interval tasks.
Retention period for completed tasks without failures.
Class methods
Returns type and all concrete (non-abstract) subtypes, including any aliases defined on the type.
Returns count of tasks scheduled to run within the given time span.
Instance methods
Indicates whether or not the task is gone.
Typically, this means that the task was saved but has been destroyed. Destroying a running task is a lightweight signal that the task should terminate itself.
Nested types
- Task::BackfillFeed
- Task::Backup
- Task::CleanOauth
- Task::CollectFeedDrafts
- Task::CollectFeedOrphans
- Task::CollectGarbage
- Task::ConcurrentTask
- Task::Deliver
- Task::DeliverDelayedObject
- Task::DistributePollUpdates
- Task::Fetch
- Task::HandleFollowRequest
- Task::Monitor
- Task::NotifyPollExpiry
- Task::Performance
- Task::Receive
- Task::ReconcileTagStatistics
- Task::RefreshActor
- Task::RunScripts
- Task::Singleton
- Task::Terminate
- Task::Transfer
- Task::UpdateMetrics