1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 00:05:29 +00:00

Update jobs timeout

This commit is contained in:
Daniel Supernault 2022-12-13 00:00:25 -07:00
parent 1fa74f141b
commit a3b67a88dc
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
2 changed files with 4 additions and 2 deletions

View file

@ -38,6 +38,8 @@ class RemoteAvatarFetch implements ShouldQueue
* @var int
*/
public $tries = 1;
public $timeout = 300;
public $maxExceptions = 1;
/**
* Create a new job instance.

View file

@ -25,8 +25,8 @@ class DeleteWorker implements ShouldQueue
protected $headers;
protected $payload;
public $timeout = 120;
public $tries = 3;
public $timeout = 300;
public $tries = 1;
public $maxExceptions = 1;
/**