You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 89e57fa
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/CONFIGURATION.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,6 +101,8 @@ Current keys:
101
101
|`watcher_enabled`|`true`| Master switch for the retained background watcher subsystem. Set `false` to stop its poll thread/project registration. Reindex manually with `codebase-memory-cli index` when disabled. |
102
102
|`index_max_files`|`off`| Optional maximum number of accepted source files in one discovery run. |
103
103
|`index_max_source_mb`|`off`| Optional maximum accepted source size in MiB in one discovery run. |
104
+
|`index_max_rss_mb`|`off`| Optional maximum charged memory in MiB for the complete contained index-worker process tree (`64..1048576`). On macOS this is phys_footprint, not resident size. |
105
+
|`index_max_duration_seconds`|`off`| Optional maximum wall-clock duration in seconds for the whole index request, including crash/hang recovery (`1..86400`). Like `index_max_rss_mb`, it stops a worker only before it starts to publish the new index; see [INDEX_RESOURCE_LIMITS.md](INDEX_RESOURCE_LIMITS.md). |
104
106
105
107
> **`watcher_enabled` vs `auto_watch`.**`watcher_enabled` controls whether the
106
108
> retained watcher subsystem starts at all. `auto_watch` is narrower: it controls
@@ -112,11 +114,13 @@ Current keys:
112
114
> value. Disabling the watcher does not disable explicit `index`, `search`,
113
115
> `trace`, `snippet`, or `coverage` commands.
114
116
115
-
The two`index_max_*` settings are independent and disabled by default. They
117
+
The four`index_max_*` settings are independent and disabled by default. They
116
118
apply to explicit indexing, automatic indexing, and watcher re-indexing, but not
117
119
to `cross-repo-intelligence`, which does not scan repository source files.
118
-
Equality is allowed; exceeding either setting fails the complete index request
119
-
and preserves any previously serving database. See
120
+
Equality is allowed; exceeding any setting fails the complete index request and
121
+
preserves any previously serving database. Worker RSS covers descendants and is
122
+
not the same as the internal `CBM_MEM_BUDGET_MB` allocation budget. Total
123
+
duration is independent of the existing 15-minute no-log-progress timeout. See
120
124
[Index resource limits](INDEX_RESOURCE_LIMITS.md) for counting, validation, and
0 commit comments