mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 13:10:43 +00:00
fix(gateway): bound sessions list responses
Bound default Gateway sessions.list responses to 100 rows when callers omit limit, with response metadata for totalCount, limitApplied, and hasMore.\n\nFixes #77062.
This commit is contained in:
committed by
GitHub
parent
1df6226d90
commit
a224810a7f
@@ -16,6 +16,12 @@ until a message is processed. Use `openclaw channels status --probe`,
|
||||
`openclaw status --deep`, or `openclaw health --verbose` when you need live
|
||||
channel connectivity.
|
||||
|
||||
Gateway `sessions.list` responses are bounded by default so large long-lived
|
||||
stores cannot monopolize the Gateway event loop. Pass an explicit positive
|
||||
`limit` from RPC clients when a different result window is needed; responses
|
||||
include `totalCount`, `limitApplied`, and `hasMore` when callers need to show
|
||||
that more rows exist.
|
||||
|
||||
```bash
|
||||
openclaw sessions
|
||||
openclaw sessions --agent work
|
||||
|
||||
Reference in New Issue
Block a user