1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-11-29 22:48:28 +02:00

Improving denormalized data update.

This change should remove the unnecessary DB updates, by making the denormalized data update when they first needed.
This commit is contained in:
Patrik J. Braun
2021-08-28 11:42:06 +02:00
parent 7c0e2ead06
commit 2b89bc49ab
10 changed files with 128 additions and 83 deletions

View File

@@ -1171,8 +1171,6 @@ describe('SearchManager', (sqlHelper: DBTestHelper) => {
if (lengths[0] !== lengths[lengths.length - 1]) {
for (const l of (q as SearchListQuery).list) {
console.log(shortestDepth(l));
console.log(parser.stringify(l));
}
}
return lengths[0];