mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-29 23:09:42 -05:00
Merge pull request #4751 from Roardom/tmdb-tv-credit-timeout
(Fix) Increase job timeout for tmdb tv fetching
This commit is contained in:
@@ -48,6 +48,22 @@ class ProcessTvJob implements ShouldQueue
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* The number of seconds the job can run before timing out.
|
||||
*
|
||||
* Some shows have 2000+ credits requiring more than the default of 60 seconds.
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $timeout = 300;
|
||||
|
||||
/**
|
||||
* Indicate if the job should be marked as failed on timeout.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $failOnTimeout = true;
|
||||
|
||||
/**
|
||||
* Get the middleware the job should pass through.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user