Commit 44db471
authored
fix(graphstore): raise memory provider MaxLimit 100 -> 10000 (#56)
The in-memory GraphStore advertised MaxLimit 100 while the default local.ladybug
provider advertises 1000, so a `limit 1000` query that is valid in production was
rejected with "query limit exceeds provider capability" whenever the memory
provider backs the server (--quickstart, MCP, the demos).
Memory has no storage backend, so give it a generous 10000 row ceiling — kept
>= the default provider's 1000 so any production-valid limit is also valid here.
Row prealloc is already bounded at 1024, so large limits just grow the slice.
Adds a regression test. Verified end-to-end: `.entity ... | limit 1000` returns
Success on a memory-backed server; limit > 10000 is still rejected.1 parent 34aca35 commit 44db471
2 files changed
Lines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
260 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
261 | 264 | | |
262 | 265 | | |
263 | 266 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
0 commit comments