8c5c36857f2e2706adf89064e0ee003ad1c71c73
Load all known filepaths into an in-memory Set on startup (one bulk query). Chokidar's initial 'add' burst now hits an O(1) Set lookup instead of going through the serial drain queue with a per-file DB round-trip — a 100k-photo library restarts in seconds rather than re-processing every file. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Languages
JavaScript
97.2%
Python
1.7%
Dockerfile
0.6%
HTML
0.3%
CSS
0.2%