protonemedia / laravel-ffmpeg

This package provides an integration with FFmpeg for Laravel. Laravel's Filesystem handles the storage of the files.
https://protone.media/en/blog/how-to-use-ffmpeg-in-your-laravel-projects
MIT License
1.63k stars 194 forks source link

exceeded the timeout of 60 seconds. #442

Closed magic-thomas closed 1 year ago

magic-thomas commented 1 year ago

I am using vps 4 CPU, and guess it is enough for transcoding.

24MB file was tested in Laravel job.

On processing I got this error.

   Symfony\Component\Process\Exception\ProcessTimedOutException

  The process "'/usr/bin/php8.1' 'artisan' 'queue:work' '--once' '--name=default' '--queue=default' '--backoff=0' '--memory=128' '--sleep=3' '--tries=1'" exceeded the timeout of 60 seconds.
// config laravel-ffmpeg.php 
    'timeout' => 3600,

How can I fix this error ?

Jandelson commented 1 year ago

Hi @magic-thomas Can you pass with parameter to the queue of laravel --timeout=0