Commit 2eb26fc
committed
fix: prevent Ollama indexing from freezing at 69%
- Add dynamic timeout for batch embedding operations based on batch size
- Improve error handling and recovery in batch processing
- Ensure errors are properly thrown to prevent silent failures
- Add immediate error state updates when batch processing fails
- Add better logging for debugging timeout and retry scenarios
Fixes #68491 parent ad0e33e commit 2eb26fc
File tree
4 files changed
+46
-6
lines changed- src
- i18n/locales/en
- services/code-index
- embedders
- processors
4 files changed
+46
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | | - | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| |||
125 | 127 | | |
126 | 128 | | |
127 | 129 | | |
128 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
129 | 139 | | |
130 | 140 | | |
131 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| 147 | + | |
146 | 148 | | |
147 | 149 | | |
148 | 150 | | |
| |||
154 | 156 | | |
155 | 157 | | |
156 | 158 | | |
| 159 | + | |
| 160 | + | |
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
389 | | - | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
390 | 411 | | |
391 | 412 | | |
392 | 413 | | |
| |||
420 | 441 | | |
421 | 442 | | |
422 | 443 | | |
423 | | - | |
| 444 | + | |
424 | 445 | | |
425 | 446 | | |
426 | 447 | | |
| |||
433 | 454 | | |
434 | 455 | | |
435 | 456 | | |
| 457 | + | |
436 | 458 | | |
437 | 459 | | |
438 | 460 | | |
| |||
454 | 476 | | |
455 | 477 | | |
456 | 478 | | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
457 | 482 | | |
458 | 483 | | |
459 | 484 | | |
0 commit comments