Robert Nagy
Robert Nagy
I think we could probably implement a max size with the sqlite backend by learning from how node impements localstorage with storage limit. See: https://github.com/nodejs/node/blob/main/src/node_webstorage.cc#L108
``` Error: database is locked at get size (file:///usr/src/app/node_modules/@nxtedition/nxt-undici/lib/sqlite-cache-store.js:298:47) at #prune (file:///usr/src/app/node_modules/@nxtedition/nxt-undici/lib/sqlite-cache-store.js:270:14) at SqliteCacheStore.set (file:///usr/src/app/node_modules/@nxtedition/nxt-undici/lib/sqlite-cache-store.js:238:16) at CacheHandler.onComplete (file:///usr/src/app/node_modules/@nxtedition/nxt-undici/lib/interceptor/cache.js:159:19) at Handler.onComplete (file:///usr/src/app/node_modules/@nxtedition/nxt-undici/lib/utils.js:263:40) at Handler.onComplete (file:///usr/src/app/node_modules/@nxtedition/nxt-undici/lib/utils.js:263:40) at Handler.onComplete (file:///usr/src/app/node_modules/@nxtedition/nxt-undici/lib/interceptor/response-retry.js:202:20) at Handler.onComplete (file:///usr/src/app/node_modules/@nxtedition/nxt-undici/lib/utils.js:263:40)...
When using the same headers for multiple requests it would be nice to bypass much of the header validation and transformation logic we do: i.e. an API like this should...
I think there could be a potential fast path by having `asJSON` write into a buffer and send that to `stream.write`.
AMCP v3
What's our wish list? @jesperstarkar @hummelstrand @dotarmin @TomKaltz @5opr4ni - [ ] Asynchronous commands - [ ] Possible preparation of commands to make sure they start at the same frame...