Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# api

## 9x.0.2 - 07 February 2024
- Retry DB transactions that lock

## 9x.0.1 - 23 January 2024
- Fix typo when setting visibility on raw assets

Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Backend/QsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function getBatches(Request $request): \Illuminate\Http\Response
$oldestBatch->update(['pending_since' => Carbon::now()]);
$oldestBatch->load(['wiki', 'wiki.wikiQueryserviceNamespace']);
return response([$oldestBatch]);
});
}, 3);

}

Expand Down
2 changes: 1 addition & 1 deletion app/Jobs/CreateQueryserviceBatchesJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function handle(): void
}

QsCheckpoint::set($latestEventId);
});
}, 3);
}

private function getNewEntities(int $latestCheckpoint): array
Expand Down
2 changes: 1 addition & 1 deletion app/Jobs/RequeuePendingQsBatchesJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private function markBatchesFailed(): array
'pending_since' => null,
]);
return $failedBatches;
});
}, 3);
}

private function requeueStalledBatches(): void
Expand Down