Commit 78f63eb
perf: wait for Neo4j index before edge loading in enrich
Added db.awaitIndexes() call after creating the id index, before starting
edge bulk-load. Without this, the first edge batches run without an index
on 140K nodes, making MATCH extremely slow.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e05107c commit 78f63eb
1 file changed
Lines changed: 10 additions & 1 deletion
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
| 229 | + | |
229 | 230 | | |
230 | 231 | | |
231 | 232 | | |
232 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
233 | 242 | | |
234 | 243 | | |
235 | 244 | | |
| |||
0 commit comments