LoginSignup
0
0

More than 1 year has passed since last update.

TypeError: The database usage limit has been exceeded.

Last updated at Posted at 2023-05-08

image.png

1GBまでしか保存できませんのでご注意願う
image.png

image.png

検証コード

import { serve } from "https://deno.land/std@0.177.0/http/server.ts";

const kv = await Deno.openKv();

serve(async (req: Request) => {
    const v = crypto.getRandomValues(new Uint8Array(65536))
    for(var i=0; i<1000; i++) kv.set([i + 1000 * Math.floor((Math.random()*100))], v);
    return new Response("How are you")
});

16500行くらいストアできます ( 1.01*1024*1024*1024/65536 )

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0