Skip to content

Commit

Permalink
(fix) lower ttr to 2 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
nitriques committed Oct 16, 2023
1 parent 7d055b0 commit c182faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jobs/UploadVideoJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class UploadVideoJob extends BaseJob implements \yii\queue\RetryableJobInterface

public function getTtr()
{
return 15 * 60;
return 2 * 60; // 2 minutes
}

public function canRetry($attempt, $error)
Expand Down

0 comments on commit c182faf

Please sign in to comment.