https://discord.cloudflare.com logo
Join Discord
Powered by
# workers-discussions
  • k

    kian

    04/09/2023, 10:54 PM
    That has been a thing since forever iirc -
  • k

    Kashall

    04/10/2023, 2:44 AM
    Is there anyway I can not get a email saying i am using 50% of my daily usage limit for Worker KV?

    https://owo.whats-th.is/9FdezAb.png▾

  • s

    sathoro

    04/10/2023, 1:03 PM
    > Preview implementations of the new ReadableStream and new WritableStream constructors are available behind the streams_enable_constructors feature flag. where do I define this?
  • s

    sathoro

    04/10/2023, 1:04 PM
    using
    compatibility_date = "2023-02-05"
    btw
  • w

    Walshy | Pages

    04/10/2023, 1:04 PM
    Copy code
    toml
    compatibility_flags = ["streams_enable_constructors"]
    in the wrangler.toml but if you are using a compatibility date greater than 2022-11-30 then there's no need to do this, that'll be the default behaviour
  • s

    sathoro

    04/10/2023, 1:04 PM
    hmm maybe something is wrong with my compat date
  • s

    sathoro

    04/10/2023, 1:05 PM
    I definitely have it in the file
  • m

    Mozzy

    04/10/2023, 1:06 PM
    How are Workers limits enforced? I run an hourly D1 -> KV cache backup, and the CPU time exceeds the Free tier that I am on
  • s

    sathoro

    04/10/2023, 1:07 PM
    thanks @Walshy | Pages that worked when I added that. but I do have a recent compat date so something might be wrong there
  • w

    Walshy | Pages

    04/10/2023, 1:07 PM
    Where are you seeing this error message?
  • s

    sathoro

    04/10/2023, 1:07 PM
    local wrangler
  • s

    sathoro

    04/10/2023, 1:08 PM
    in my terminal
  • s

    sathoro

    04/10/2023, 1:08 PM
    at run time
  • w

    Walshy | Pages

    04/10/2023, 1:08 PM
    --local?
  • w

    Walshy | Pages

    04/10/2023, 1:09 PM
    You can exceed the CPU time occasionally, if you were to constantly go over is when you'd be limited
  • s

    sathoro

    04/10/2023, 1:09 PM
    yeah with local
  • m

    Mozzy

    04/10/2023, 1:09 PM
    To confirm, is the limit 10ms on the Free tier?
  • w

    Walshy | Pages

    04/10/2023, 1:09 PM
    Yes
  • w

    Walshy | Pages

    04/10/2023, 1:10 PM
    Probably a Miniflare bug then, you can file an issue here:
  • m

    Mozzy

    04/10/2023, 1:10 PM
    If I upgrade to Paid, I'll still be over the then 50ms limit
  • m

    Mozzy

    04/10/2023, 1:11 PM
    I guess that's where Bundled vs Unbound comes in
  • z

    zarg129

    04/10/2023, 2:43 PM
    What will be with worker custom domain if the domain that sends request to custom domain got abuse?
  • s

    sathoro

    04/10/2023, 2:59 PM
    What?
  • z

    zarg129

    04/10/2023, 3:02 PM
    I have a domain that connected to a worker (api.com) and I have a page that sends requests to worker (example.com). What will be with worker domain (api.com) if example.com will get an abuse
  • j

    Jori

    04/10/2023, 4:48 PM
    Are there any plans to natively support other languages?
  • j

    James

    04/10/2023, 4:53 PM
    I would doubt it. Workers run on V8, so outside of wasm, I would personally not expect to see other languages natively supported any time soon.
  • j

    James

    04/10/2023, 4:53 PM
    wasm lets you run a tonne of languages though once you compile to wasm
  • w

    Walshy | Pages

    04/10/2023, 4:54 PM
    What language are you looking for?
  • j

    Jori

    04/10/2023, 4:55 PM
    Python
  • j

    Jori

    04/10/2023, 4:55 PM
    I know its somewhat supported by compiling
1...238423852386...2509Latest