You've already forked pigallery2
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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user