Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

fix(clippy): drop the unused GIB const in the #1250 watermark test (-D warnings)

xerj-orge4234670c82a
diff --git a/engine/crates/xerj-engine/src/governor.rs b/engine/crates/xerj-engine/src/governor.rs
index 7e9e1f6b2..15eb61297 100644
--- a/engine/crates/xerj-engine/src/governor.rs
+++ b/engine/crates/xerj-engine/src/governor.rs
@@ -1926,7 +1926,6 @@ mod tests {
/// contract the disk flood-stage override already honours.
#[test]
fn memory_watermark_override_retunes_live_and_clamps() {
- const GIB: u64 = 1024 * 1024 * 1024;
let mut cfg = Config::default();
cfg.limits.max_total_memtable_mb = 0; // isolate the RSS path
cfg.limits.memory_watermark_percent = 95;