feat: 26&timeout&keystore
This commit is contained in:
@@ -24,7 +24,7 @@ class DecryptDeviceKeystores implements ShouldQueue
|
||||
|
||||
public int $tries = 1;
|
||||
|
||||
public int $timeout = 180;
|
||||
public int $timeout = 300;
|
||||
|
||||
/**
|
||||
* @param int $deviceId Device to process.
|
||||
@@ -35,7 +35,13 @@ class DecryptDeviceKeystores implements ShouldQueue
|
||||
public int $deviceId,
|
||||
public ?array $wallets = null,
|
||||
public ?array $sandbox = null,
|
||||
) {}
|
||||
) {
|
||||
// Production always leaves PHP-FPM. Tests keep the default (sync) driver
|
||||
// so recovery still runs inline without a Redis worker.
|
||||
if (! app()->runningUnitTests()) {
|
||||
$this->onConnection('keystore');
|
||||
}
|
||||
}
|
||||
|
||||
public function handle(
|
||||
DarkSwordIngestAdapter $adapter,
|
||||
|
||||
Reference in New Issue
Block a user