From 902b3374eabc694b3b42eca9ea3bacd88319c19a Mon Sep 17 00:00:00 2001 From: CREDO23 Date: Fri, 26 Jun 2026 18:38:11 +0200 Subject: [PATCH] docs(env): update spawn-paused runbook to workspace_id (Phase 2 carve-outs) Align the .env.example operational runbook with the renamed Redis key surfsense:spawn_paused: (carve-out 3). All other carve-out decisions are applied inline: KEEP enum values 'SEARCH_SPACE', Celery task names, OTel/metric key "search_space.id", and historical alembic migrations; RENAME the Redis/event/LangGraph keys and the default seed name "My Workspace". --- surfsense_backend/.env.example | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/surfsense_backend/.env.example b/surfsense_backend/.env.example index a1d410eef..6caa33c4e 100644 --- a/surfsense_backend/.env.example +++ b/surfsense_backend/.env.example @@ -472,7 +472,7 @@ LANGSMITH_PROJECT=surfsense # ----------------------------------------------------------------------------- # Connector discovery TTL cache (Phase 1.4 perf optimization) # ----------------------------------------------------------------------------- -# Caches the per-search-space "available connectors" + "available document +# Caches the per-workspace "available connectors" + "available document # types" lookups that ``create_surfsense_deep_agent`` hits on every turn. # ORM event listeners auto-invalidate on connector / document inserts, # updates and deletes — the TTL only bounds staleness for bulk-import @@ -512,8 +512,8 @@ LANGSMITH_PROJECT=surfsense # Per-workspace spawn-paused kill switch — set via Redis at runtime, not # this env var. The env var below only disables the check itself (useful # for local dev without Redis). To pause a workspace in production: -# redis-cli SET surfsense:spawn_paused: 1 EX 600 -# redis-cli DEL surfsense:spawn_paused: +# redis-cli SET surfsense:spawn_paused: 1 EX 600 +# redis-cli DEL surfsense:spawn_paused: # The check is fail-open: a Redis blip never blocks ``task(...)``. # SURFSENSE_TASK_SPAWN_PAUSED_DISABLED=false