mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-10-27 11:35:23 -07:00
fix(stats): report complete vocabulary totals and new-word history (#202)
This commit is contained in:
1 parent
273652f781
commit
7de73e16a1
38 files changed
+2995
-85
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { parentPort, workerData } from 'node:worker_threads';
|
||||
import { executeLexicalRollupBackfillTask } from './lexical-rollup-worker';
|
||||
|
||||
if (!parentPort) throw new Error('lexical rollup worker missing parent port');
|
||||
|
||||
try {
|
||||
executeLexicalRollupBackfillTask((workerData as { dbPath: string }).dbPath);
|
||||
parentPort.postMessage({ ok: true });
|
||||
} catch (error) {
|
||||
parentPort.postMessage({ error: error instanceof Error ? error.message : String(error) });
|
||||
}
|
||||
Reference in new issue
Block a user