Skip to content

Commit

Permalink
Do not call combine
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-dziurdziak committed Nov 21, 2023
1 parent 3573ca9 commit 5980cfa
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 18 deletions.
3 changes: 0 additions & 3 deletions build_scripts/nodeActions/extractPgns.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import {extractPgnForAll} from "../extractPGN.js";
import {combine} from "../combine.js";

extractPgnForAll()

combine()
3 changes: 0 additions & 3 deletions build_scripts/nodeActions/loadMissingData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -84,5 +83,3 @@ async function loadMissingLichessMastersInfo() {
}

await Promise.all([loadMissingChessComInfo(), loadMissingChesstempoInfo(), loadMissingChess365Info(), loadMissingLichessMastersInfo()])

combine()
3 changes: 0 additions & 3 deletions build_scripts/nodeActions/loadNewVideos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down Expand Up @@ -43,8 +42,6 @@ async function loadNewVideos() {
}

await stockfishService.evaluate(newIds)

combine()
}

await loadNewVideos();
Expand Down
3 changes: 0 additions & 3 deletions build_scripts/nodeActions/refreshVideo.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -51,8 +50,6 @@ async function refreshVideo() {
}

await stockfishService.evaluate([videoId], true)

combine()
}

await refreshVideo();
Expand Down
3 changes: 0 additions & 3 deletions build_scripts/nodeActions/removeVideo.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {combine} from "../combine.js";
import {database} from "../db.js";

let videoId: string | null | undefined = process.env.VIDEO_ID
Expand All @@ -13,5 +12,3 @@ if (!videoId) {
}

database.delete(videoId)

combine()
3 changes: 0 additions & 3 deletions build_scripts/nodeActions/retryDataRetrieval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -95,5 +94,3 @@ async function retryLichessMasters() {
}

await Promise.all([retryChessCom(), retryChesstempoCom(), retryChess365Com()])

combine()

0 comments on commit 5980cfa

Please sign in to comment.