diff --git a/app/Jobs/VirtualMachine/ProcessOrderPaymentJob.php b/app/Jobs/VirtualMachine/ProcessOrderPaymentJob.php index dd868f0..1966ce8 100644 --- a/app/Jobs/VirtualMachine/ProcessOrderPaymentJob.php +++ b/app/Jobs/VirtualMachine/ProcessOrderPaymentJob.php @@ -165,7 +165,7 @@ class ProcessOrderPaymentJob implements ShouldQueue if ($this->retryCount < self::MAX_RETRIES) { // Kiểm tra nếu lỗi là timeout, tăng delay time $isTimeoutError = $this->isTimeoutError($failedVMs); - $delayMinutes = $isTimeoutError ? 10 : 5; // Timeout thì chờ 10 phút, lỗi khác chờ 5 phút + $delayMinutes = $isTimeoutError ? 10 : 10; // Timeout thì chờ 10 phút, lỗi khác chờ 10 phút Log::warning("Có lỗi khi tạo VM, thử lại lần " . ($this->retryCount + 1), array_merge($errorDetails, [ 'is_timeout_error' => $isTimeoutError,