Repository navigation
v0.54.0
v0.54.0
Large values via the blob vendor
ExternalizingStoragesends storage values at or overVGI_STORAGE_EXTERNALIZE_BYTES(default 512 KiB) to a blob vendor (region-pinned, pre-signed R2 URLs;VGI_BLOB_VENDOR_URL, tokenVGI_BLOB_VENDOR_TOKENorVGI_CF_DO_TOKEN) and stores a small pointer. Reads verify size and SHA-256. The function storage API is unchanged.- cloudflare-do is always wrapped: every value now carries a 1-byte envelope. Format change: a query in flight across an upgrade fails with
StorageEnvelopeError. Without a vendor, values over 1 MiB fail with an error namingVGI_BLOB_VENDOR_URL. - Other backends opt in with
VGI_STORAGE_EXTERNALIZE=1(SQLite's format is unchanged otherwise). vgi-serve --httpwith the vendor externalizes large results and vends client upload URLs;VGI_RPC_MAX_REQUEST_BYTESadvertises the request cap. Needsvgi[external].
Idle exit
VGI_IDLE_EXIT_SECONDS:vgi-serve --httpexits with status 0 after that many seconds with no request in flight (health checks don't count), under waitress and granian. For platforms that start the machine on the next request (Fly.io).
Requires vgi-rpc 0.56.0.