add DB::transaction to catch looked query

This commit is contained in:
salam committed 2026-02-16 10:02:07 +01:00
1 parent f1b0f43ded
commit 65dc70e681
38 files changed
+218 -266

No files matched your search

@@ -101,7 +101,9 @@ class FindFixture
}
if ($update_array) {
Event::where('id', $match->id)->update($update_array);
DB::transaction(function () use ($match) {
Event::where('id', $match->id)->update($update_array);
}, 5);
}
if (! in_array(Nuh::$options['provider_id'], [5, 6, 9])) {
@@ -149,6 +151,8 @@ class FindFixture
if ($match_id) {
$event['id'] = $match_id;
$update_array = [];
if ($betradar_id) {