Skip to content

Commit 9686a3f

Browse files
committed
docs(skill): document HOTDATA_DATABASE
The CLI reads it (src/client/sdk.rs) as the database for commands without -d, ahead of the saved current database. The skill and README now both say so.
1 parent 1ec1832 commit 9686a3f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎skills/hotdata/SKILL.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ If **`HOTDATA_WORKSPACE`** is set in the environment, the workspace is **locked*
5151

5252
**Omit `--workspace-id` unless you need to target a specific workspace** (and it is not locked by env or session).
5353

54+
**`HOTDATA_DATABASE`** names the database a command uses when `-d/--database` is not given, taking precedence over the saved current database (`hotdata databases use`). An explicit `-d` still wins. Useful for pinning a script or agent session to one database without touching the saved selection.
55+
5456
### Cold starts (worker wake-up)
5557

5658
A workspace's query worker scales to zero after inactivity. The **first** command against an idle workspace (e.g. `databases list`, `query`, `search`) blocks while it wakes — typically ~10s, up to ~20s — and the spinner upgrades to `waking up worker after inactivity (this can take ~20s)…`. **This is normal, not a hang:** don't kill the command, retry, or treat the pause as an error. Subsequent commands return promptly; warm workspaces are unaffected.

0 commit comments

Comments
 (0)