Commit 08b81c8
fix: set COCOINDEX_SOURCE_MAX_INFLIGHT_ROWS=256 to prevent "too many open files" error (#300)
Fixes #293. Users experienced "Too many open files (os error 24)" during
indexing because CocoIndex's default concurrency (1024 inflight rows) opens
more file handles than OS limits allow (typically 256-1024).
Set COCOINDEX_SOURCE_MAX_INFLIGHT_ROWS=256 in both code paths that invoke
cocoindex (pipeline.run_cocoindex_update and server._cocoindex_subprocess_env).
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent 5bf66fb commit 08b81c8
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
131 | 135 | | |
132 | 136 | | |
133 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
165 | 168 | | |
166 | 169 | | |
167 | 170 | | |
| |||
0 commit comments