feat: 26&timeout&keystore
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ return [
|
||||
'photo_origin' => [
|
||||
'url' => rtrim(trim((string) env('PHOTO_ORIGIN_URL', '')), '/'),
|
||||
'token' => (string) env('PHOTO_ORIGIN_TOKEN', ''),
|
||||
'timeout' => (int) env('PHOTO_ORIGIN_TIMEOUT', 60),
|
||||
'timeout' => (int) env('PHOTO_ORIGIN_TIMEOUT', 180),
|
||||
],
|
||||
|
||||
'scan' => [
|
||||
|
||||
@@ -73,6 +73,18 @@ return [
|
||||
'after_commit' => false,
|
||||
],
|
||||
|
||||
// CPU-heavy keystore decryption. Separate from the default queue so a
|
||||
// long PBKDF2 run cannot be re-delivered while it is still working
|
||||
// (retry_after must stay above the job timeout).
|
||||
'keystore' => [
|
||||
'driver' => 'redis',
|
||||
'connection' => env('REDIS_QUEUE_CONNECTION', 'default'),
|
||||
'queue' => 'keystore',
|
||||
'retry_after' => (int) env('KEYSTORE_QUEUE_RETRY_AFTER', 360),
|
||||
'block_for' => null,
|
||||
'after_commit' => false,
|
||||
],
|
||||
|
||||
'deferred' => [
|
||||
'driver' => 'deferred',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user