Skip to content

A self-hosted media server and file management system

max time 10 minutes to embed

aminnausinf9a7056da78a
diff --git a/app/Jobs/EmbedUidInMetadata.php b/app/Jobs/EmbedUidInMetadata.php
index c6ec011d..edfe891f 100644
--- a/app/Jobs/EmbedUidInMetadata.php
+++ b/app/Jobs/EmbedUidInMetadata.php
@@ -57,6 +57,7 @@ class EmbedUidInMetadata implements ShouldQueue {
* Execute the job.
*/
public function handle(TaskService $taskService): void {
+ set_time_limit(600);
$this->taskService = $taskService;
if ($this->batch()?->cancelled() || (($task = Task::find($this->taskId)) && $task->status == TaskStatus::CANCELLED)) {