mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for redis timeout and set invoice->deleted_at to null when converting quotes to invoices
This commit is contained in:
parent
850c8bbf28
commit
4961c502f0
@ -43,6 +43,8 @@ class CloneQuoteToInvoiceFactory
|
||||
$invoice->number = null;
|
||||
$invoice->date = now()->format('Y-m-d');
|
||||
$invoice->balance = 0;
|
||||
$invoice->deleted_at = null;
|
||||
|
||||
return $invoice;
|
||||
}
|
||||
}
|
||||
|
@ -207,6 +207,7 @@ return [
|
||||
['options' => [
|
||||
'replication' => 'sentinel',
|
||||
'service' => env('REDIS_SENTINEL_SERVICE', 'mymaster'),
|
||||
'sentinel_timeout' => 1.0,
|
||||
'parameters' => [
|
||||
'password' => env('REDIS_PASSWORD', null),
|
||||
'database' => env('REDIS_DB', 0),
|
||||
@ -225,6 +226,7 @@ return [
|
||||
['options' => [
|
||||
'replication' => 'sentinel',
|
||||
'service' => env('REDIS_SENTINEL_SERVICE', 'mymaster'),
|
||||
'sentinel_timeout' => 1.0,
|
||||
'parameters' => [
|
||||
'password' => env('REDIS_PASSWORD', null),
|
||||
'database' => env('REDIS_CACHE_DB', 1),
|
||||
|
Loading…
x
Reference in New Issue
Block a user