Jeremy Zheng пре 1 година
родитељ
комит
99ed404530
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      api-v8/app/Console/Commands/ExportZip.php

+ 1 - 0
api-v8/app/Console/Commands/ExportZip.php

@@ -116,6 +116,7 @@ class ExportZip extends Command
         $this->info(implode(' ', $command));
         Log::debug('export offline zip start', ['command' => $command, 'format' => $this->argument('format')]);
         $process = new Process($command);
+	$process->setTimeout(60*60*6);
         $process->run();
         $this->info($process->getOutput());
         $this->info('压缩完成');