---
name: "Tirex::Manager::RenderingJobs"
section: "3pm"
platform: "linux"
package: "tirex"
version: "0.7.1-3+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Tirex::Manager::RenderingJobs"
---

# Tirex::Manager::RenderingJobs(3pm)

Hold currently rendering jobs

## NAME

Tirex::Manager::Rendering - Hold currently rendering jobs

## SYNOPSIS

```
 use Tirex::Manager:RenderingJobs;
```

## DESCRIPTION

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.
