mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor: 🚨 Remove unnecessary async keywords
This commit is contained in:
parent
132bec4d5b
commit
b1d8595a7c
10 changed files with 38 additions and 39 deletions
|
|
@ -149,7 +149,7 @@ export class SonicSearchManager {
|
|||
* @param n Batch number
|
||||
* @param batchSize Size of the batch
|
||||
*/
|
||||
private async getNthDatabaseAccountBatch(
|
||||
private getNthDatabaseAccountBatch(
|
||||
n: number,
|
||||
batchSize = 1000,
|
||||
): Promise<Record<string, string | Date>[]> {
|
||||
|
|
@ -172,7 +172,7 @@ export class SonicSearchManager {
|
|||
* @param n Batch number
|
||||
* @param batchSize Size of the batch
|
||||
*/
|
||||
private async getNthDatabaseStatusBatch(
|
||||
private getNthDatabaseStatusBatch(
|
||||
n: number,
|
||||
batchSize = 1000,
|
||||
): Promise<Record<string, string | Date>[]> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue