diff --git a/backend/src/api/pools-parser.ts b/backend/src/api/pools-parser.ts index e3f5f0b89..b81bf9d15 100644 --- a/backend/src/api/pools-parser.ts +++ b/backend/src/api/pools-parser.ts @@ -135,9 +135,9 @@ class PoolsParser { if (finalPoolDataAdd.length > 0) { await connection.query({ sql: queryAdd, timeout: 120000 }); } - updateQueries.forEach(async query => { + for (const query of updateQueries) { await connection.query({ sql: query, timeout: 120000 }); - }); + } await this.insertUnknownPool(); connection.release(); logger.info('Mining pools.json import completed');