mirror of
https://github.com/idanoo/php-resque
synced 2025-07-02 06:02:21 +00:00
Added 48 hour TTL to worker:xxx:started keys to prevent db pollution
This commit is contained in:
parent
b235fce1bd
commit
493d6dc6d8
17 changed files with 158 additions and 141 deletions
|
@ -18,7 +18,7 @@ class Resque_Failure
|
|||
/**
|
||||
* Create a new failed job on the backend.
|
||||
*
|
||||
* @param object $payload The contents of the job that has just failed.
|
||||
* @param array $payload The contents of the job that has just failed.
|
||||
* @param \Exception $exception The exception generated when the job failed to run.
|
||||
* @param \Resque_Worker $worker Instance of Resque_Worker that was running this job when it failed.
|
||||
* @param string $queue The name of the queue that this job was fetched from.
|
||||
|
@ -32,7 +32,7 @@ class Resque_Failure
|
|||
/**
|
||||
* Return an instance of the backend for saving job failures.
|
||||
*
|
||||
* @return object Instance of backend object.
|
||||
* @return object|string
|
||||
*/
|
||||
public static function getBackend()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue