lh 5 dní pred
rodič
commit
ba4c4a184e
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      app/Services/DeepSeek/DeepSeekService.php

+ 2 - 2
app/Services/DeepSeek/DeepSeekService.php

@@ -141,7 +141,7 @@ class DeepSeekService
 
         if ($boolen) {
             $boolen = false;
-            $client = new Client(['timeout' => 120, 'verify' => false]);
+            $client = new Client(['timeout' => 300, 'verify' => false]);
             // 根据ID通过API通知合成音频
             // $result = $client->get("http://47.240.171.155:5000/api/previewTask?taskId={$id}");
             $result = $client->get("http://122.9.129.83:5000/api/previewTask?taskId={$id}");
@@ -304,7 +304,7 @@ class DeepSeekService
             }
 
             // 通知火山生成音频
-            $client = new Client(['timeout' => 120, 'verify' => false]);
+            $client = new Client(['timeout' => 300, 'verify' => false]);
             // 根据ID通过API通知合成音频
             // $result = $client->get("http://47.240.171.155:5000/api/chapterTask?taskId={$id}");
             $result = $client->get("http://122.9.129.83:5000/api/chapterTask?taskId={$id}");