Skip to content

Commit

Permalink
Better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ledyba committed May 10, 2022
1 parent 20243a8 commit 5fa7681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/cmd/regenerate-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function main() {
}
let processed = 0;
for (const entity of entities) {
console.log(`[${entity.mimeType} ${processed+1}/${entities.length})]: ${entity.id}`);
console.log(`[${entity.mimeType}]: ${entity.id} (${processed+1}/${entities.length})`);
const beg = performance.now();
await shelf.regenerateEntityCache(entity);
++processed;
Expand Down

0 comments on commit 5fa7681

Please sign in to comment.