diff options
| author | Sabyrzhan Tasbolatov <snovitoll@gmail.com> | 2024-10-27 19:11:02 +0500 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-10-28 15:57:39 +0000 |
| commit | 5fe1d0f516ac169c2b6e3a268aea92df864ea3a6 (patch) | |
| tree | 4f1717de432a5e4198fd5fe31d211bfc9c6c0a80 /executor | |
| parent | 9efb3cc7d524771b347fdd278c089ee920df8da4 (diff) | |
dashboard: const attempts in db.RunInTransaction
Use a common number of attempts (10) everywhere in dashboard/app
for db.RunInTransaction() with the custom wrapper runInTransaction().
This should fix the issues when the ErrConcurrentTransaction occurs
after a default number of attempts (3). If the max. limit (10) is not
enough, then it should hint on problem at the tx transaction function itself
for the further debugging.
For very valuable transactions in createBugForCrash(), reportCrash(),
let's leave 30 attempts as it is currently.
Fixes: https://github.com/google/syzkaller/issues/5441
Diffstat (limited to 'executor')
0 files changed, 0 insertions, 0 deletions
