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:<workspace_id> (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".
This commit is contained in:
CREDO23 2026-06-26 18:38:11 +02:00
parent ca9bd28934
commit 902b3374ea

View file

@ -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:<search_space_id> 1 EX 600
# redis-cli DEL surfsense:spawn_paused:<search_space_id>
# redis-cli SET surfsense:spawn_paused:<workspace_id> 1 EX 600
# redis-cli DEL surfsense:spawn_paused:<workspace_id>
# The check is fail-open: a Redis blip never blocks ``task(...)``.
# SURFSENSE_TASK_SPAWN_PAUSED_DISABLED=false