Commit 7e2966e
razvan
fix: cumulative Processed counter in index_status + register JS parser
- index_status.Processed was being overwritten with session-only doneFiles,
causing incremental re-indexes to reset the counter (e.g. 232 → 1)
- Now captures baseProcessed before each language run and accumulates:
Processed = baseProcessed + doneFiles
- Full re-index (recreate=true or totalFiles >= diskTotal) resets base to 0
- Register JavaScript parser in daemon imports1 parent 31aa1f3 commit 7e2966e
3 files changed
Lines changed: 31 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
952 | 952 | | |
953 | 953 | | |
954 | 954 | | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
955 | 971 | | |
956 | 972 | | |
957 | 973 | | |
| |||
962 | 978 | | |
963 | 979 | | |
964 | 980 | | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
965 | 990 | | |
966 | 991 | | |
967 | | - | |
968 | | - | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
969 | 996 | | |
970 | 997 | | |
971 | 998 | | |
| |||
0 commit comments