Tirex::Manager::RenderingJobs(3pm)

Tirex::Manager::RenderingJobs3pm

Hold currently rendering jobs

Usage

 use Tirex::Manager:RenderingJobs;

Overview

Keeps the list of currently rendering jobs.

Methods

Tirex::Manager::RenderingJobs->new( timeout => 120 )

Create new object.

$rj->count()

Returns the number of jobs currently rendering.

$rj->add($job)

Add a job. Returns the job added.

$rj->remove($job)

Remove a job. Returns the job removed.

$rj->find_by_id($id)

Find a currently rendering job by its id.

$rj->find_by_metatile($hash)

Find a currently rendering job for some metatile by the metatile hash.

$rj->check_timeout()

Check if there are any jobs older than the timeout and remove them. They will have been killed by tirex-backend-manager in the mean time.

Returns the number of jobs removed.

$rj->status()

Return status.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From tirex 0.7.1-3+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.