mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Reduce transaction retries
This commit is contained in:
parent
a2ef847f54
commit
1335a9330e
@ -48,7 +48,7 @@ class LedgerService
|
|||||||
|
|
||||||
$this->entity->company_ledger()->save($company_ledger);
|
$this->entity->company_ledger()->save($company_ledger);
|
||||||
|
|
||||||
}, 5);
|
}, 1);
|
||||||
|
|
||||||
// \DB::connection(config('database.default'))->commit();
|
// \DB::connection(config('database.default'))->commit();
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ class LedgerService
|
|||||||
|
|
||||||
$this->entity->company_ledger()->save($company_ledger);
|
$this->entity->company_ledger()->save($company_ledger);
|
||||||
|
|
||||||
}, 5);
|
}, 1);
|
||||||
|
|
||||||
// \DB::connection(config('database.default'))->commit();
|
// \DB::connection(config('database.default'))->commit();
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ class LedgerService
|
|||||||
|
|
||||||
$this->entity->company_ledger()->save($company_ledger);
|
$this->entity->company_ledger()->save($company_ledger);
|
||||||
|
|
||||||
}, 5);
|
}, 1);
|
||||||
|
|
||||||
// \DB::connection(config('database.default'))->commit();
|
// \DB::connection(config('database.default'))->commit();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user