From 5980cfa1fe4cf5ab3fea63fc537578449f849408 Mon Sep 17 00:00:00 2001 From: Mateusz Dziurdziak <8903656+mateusz-dziurdziak@users.noreply.github.com> Date: Tue, 21 Nov 2023 11:50:31 +0100 Subject: [PATCH] Do not call combine --- build_scripts/nodeActions/extractPgns.ts | 3 --- build_scripts/nodeActions/loadMissingData.ts | 3 --- build_scripts/nodeActions/loadNewVideos.ts | 3 --- build_scripts/nodeActions/refreshVideo.ts | 3 --- build_scripts/nodeActions/removeVideo.ts | 3 --- build_scripts/nodeActions/retryDataRetrieval.ts | 3 --- 6 files changed, 18 deletions(-) diff --git a/build_scripts/nodeActions/extractPgns.ts b/build_scripts/nodeActions/extractPgns.ts index 2e9f68ea4..39c0e6527 100644 --- a/build_scripts/nodeActions/extractPgns.ts +++ b/build_scripts/nodeActions/extractPgns.ts @@ -1,6 +1,3 @@ import {extractPgnForAll} from "../extractPGN.js"; -import {combine} from "../combine.js"; extractPgnForAll() - -combine() diff --git a/build_scripts/nodeActions/loadMissingData.ts b/build_scripts/nodeActions/loadMissingData.ts index dff2ed53f..f08a2efe3 100644 --- a/build_scripts/nodeActions/loadMissingData.ts +++ b/build_scripts/nodeActions/loadMissingData.ts @@ -6,7 +6,6 @@ import { NAMESPACE_LICHESS_MASTERS } from "../db.js"; import {chessComService} from "../chessCom/ChessComService.js"; -import {combine} from "../combine.js"; import {chesstempoService} from "../chesstempo/ChesstempoService.js"; import {chess365Service} from "../chess365/Chess365Service.js"; import {lichessMastersService} from "../lichessMasters/LichessMastersService.js"; @@ -84,5 +83,3 @@ async function loadMissingLichessMastersInfo() { } await Promise.all([loadMissingChessComInfo(), loadMissingChesstempoInfo(), loadMissingChess365Info(), loadMissingLichessMastersInfo()]) - -combine() diff --git a/build_scripts/nodeActions/loadNewVideos.ts b/build_scripts/nodeActions/loadNewVideos.ts index 76c316a44..105db8b54 100644 --- a/build_scripts/nodeActions/loadNewVideos.ts +++ b/build_scripts/nodeActions/loadNewVideos.ts @@ -3,7 +3,6 @@ import {chessComService} from "../chessCom/ChessComService.js"; import {chesstempoService} from "../chesstempo/ChesstempoService.js"; import {chess365Service} from "../chess365/Chess365Service.js"; import {extractPgnForId} from "../extractPGN.js"; -import {combine} from "../combine.js"; import {lichessMastersService} from "../lichessMasters/LichessMastersService.js"; import {stockfishService} from "../stockfish/StockfishService.js"; @@ -43,8 +42,6 @@ async function loadNewVideos() { } await stockfishService.evaluate(newIds) - - combine() } await loadNewVideos(); diff --git a/build_scripts/nodeActions/refreshVideo.ts b/build_scripts/nodeActions/refreshVideo.ts index 5c7c05afe..4b62c249b 100644 --- a/build_scripts/nodeActions/refreshVideo.ts +++ b/build_scripts/nodeActions/refreshVideo.ts @@ -1,7 +1,6 @@ import {chessComService} from "../chessCom/ChessComService.js"; import {chesstempoService} from "../chesstempo/ChesstempoService.js"; import {extractPgnForId} from "../extractPGN.js"; -import {combine} from "../combine.js"; import {database, NAMESPACE_VIDEO_SNIPPET} from "../db.js"; import {chess365Service} from "../chess365/Chess365Service.js"; import {lichessMastersService} from "../lichessMasters/LichessMastersService.js"; @@ -51,8 +50,6 @@ async function refreshVideo() { } await stockfishService.evaluate([videoId], true) - - combine() } await refreshVideo(); diff --git a/build_scripts/nodeActions/removeVideo.ts b/build_scripts/nodeActions/removeVideo.ts index 76ad1c167..9ecd6433f 100644 --- a/build_scripts/nodeActions/removeVideo.ts +++ b/build_scripts/nodeActions/removeVideo.ts @@ -1,4 +1,3 @@ -import {combine} from "../combine.js"; import {database} from "../db.js"; let videoId: string | null | undefined = process.env.VIDEO_ID @@ -13,5 +12,3 @@ if (!videoId) { } database.delete(videoId) - -combine() diff --git a/build_scripts/nodeActions/retryDataRetrieval.ts b/build_scripts/nodeActions/retryDataRetrieval.ts index e1e8945e1..cb95ac523 100644 --- a/build_scripts/nodeActions/retryDataRetrieval.ts +++ b/build_scripts/nodeActions/retryDataRetrieval.ts @@ -7,7 +7,6 @@ import { NAMESPACE_VIDEO_SNIPPET } from "../db.js"; import {chessComService} from "../chessCom/ChessComService.js"; -import {combine} from "../combine.js"; import _ from "lodash"; import {chesstempoService} from "../chesstempo/ChesstempoService.js"; import {chess365Service} from "../chess365/Chess365Service.js"; @@ -95,5 +94,3 @@ async function retryLichessMasters() { } await Promise.all([retryChessCom(), retryChesstempoCom(), retryChess365Com()]) - -combine()