You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My queue worker's default timeout is at 60 seconds which is ideal for most tasks.
But I have a lot of posts to make searchable for ElasticSearch and it can take up to 300 seconds to run, so I want to set the job timeout to that amount. How can I do that?
I think I would need to somehow add public $timeout = 300; to \Matchish\ScoutElasticSearch\Jobs\QueueableJob, but I can't make changes to that class that's part of the library.
The text was updated successfully, but these errors were encountered:
What do you think about setting this configuration inside the [ImportCommand.php:52](https://github.com/matchish/laravel-scout-elasticsearch/blob/master/src/Console/Commands/ImportCommand.php#L52). We already reaching config in this command and we can put as :
My queue worker's default timeout is at 60 seconds which is ideal for most tasks.
But I have a lot of posts to make searchable for ElasticSearch and it can take up to 300 seconds to run, so I want to set the job timeout to that amount. How can I do that?
I think I would need to somehow add
public $timeout = 300;
to\Matchish\ScoutElasticSearch\Jobs\QueueableJob
, but I can't make changes to that class that's part of the library.The text was updated successfully, but these errors were encountered: