Reduce transaction retries

This commit is contained in:
David Bomba 2022-04-02 18:23:05 +11:00
parent a2ef847f54
commit 1335a9330e

View File

@ -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();