You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Especially on Deploy, KV is currently limited to 1GB, and it can easily become a need to implement some sort of eviction scheme as well as determine a strategy for managing under the limit versus just throwing some error when trying to commit.
While it does not make sense to implement the StorageAPI, potentially following .estimate() would work. It resolves with an object of { quota: number; usage: number; } where quota is a conservative estimate of the available storage in bytes and usage is the current used amount of storage.
The text was updated successfully, but these errors were encountered:
Related #18415
Especially on Deploy, KV is currently limited to 1GB, and it can easily become a need to implement some sort of eviction scheme as well as determine a strategy for managing under the limit versus just throwing some error when trying to commit.
While it does not make sense to implement the
StorageAPI
, potentially following.estimate()
would work. It resolves with an object of{ quota: number; usage: number; }
wherequota
is a conservative estimate of the available storage in bytes andusage
is the current used amount of storage.The text was updated successfully, but these errors were encountered: