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

    James

    05/19/2023, 2:40 PM
    An incident was raised for the double cron firing issue: https://www.cloudflarestatus.com/incidents/pg9ms2p91nsf Thanks all for the reports!
  • l

    Linka

    05/19/2023, 4:18 PM
    It seems that this issue has just been fixed. Do I need to take any other actions?

    https://cdn.discordapp.com/attachments/779390076219686943/1109153184934535228/image.png▾

  • n

    nora

    05/19/2023, 5:08 PM
    Do I need a custom domain configuration if I'm using a route for my custom domain?
  • n

    nora

    05/19/2023, 5:09 PM
    ^
    Copy code
    toml
    [env.production]
    route = "service.[..].app/*"
    
    [env.staging]
    route = "staging.service.[..].app/*"
  • i

    Isaac McFadyen | YYZ01

    05/19/2023, 5:10 PM
    No. But you need to add an A record with a value of
    100::
  • i

    Isaac McFadyen | YYZ01

    05/19/2023, 5:10 PM
    And I'm also not certain [..] works
  • n

    nora

    05/19/2023, 5:10 PM
    No that's a filler for my actual domain :p
  • u

    Unsmart | Tech debt

    05/19/2023, 5:10 PM
    No but if you are serving all traffic from a domain instead of a partial route custom domains are better 🤷
  • n

    nora

    05/19/2023, 5:10 PM
    Thanks!
  • n

    nora

    05/19/2023, 5:12 PM
    Can I deploy one environment to staging and one to production, without routing?
  • u

    Unsmart | Tech debt

    05/19/2023, 5:13 PM
    I assume by without routing you mean with custom domains? If so yes, because each environment is just a different worker
  • n

    nora

    05/19/2023, 5:14 PM
    Yes; but I can't differentiate between production and e.g. preview as I can with Pages, in the dashbord at least.
  • n

    nora

    05/19/2023, 5:15 PM
    Ahh
  • n

    nora

    05/19/2023, 5:15 PM
    I should be creating two seperate workers
  • n

    nora

    05/19/2023, 5:15 PM
    and specify the name property
  • i

    Isaac McFadyen | YYZ01

    05/19/2023, 5:15 PM
    It automatically does for you.
  • i

    Isaac McFadyen | YYZ01

    05/19/2023, 5:15 PM
    When you specify
    --env
    when deploying, it will put the environment on the end (like
    worker-name-production
    )
  • n

    nora

    05/19/2023, 5:16 PM
    Ahhh, smart
  • n

    nora

    05/19/2023, 5:16 PM
    So I could just deploy now to production and staging, and then go in and set the custom domains?
  • n

    nora

    05/19/2023, 5:24 PM
    Yep, cool. Thanks!
  • c

    Colin

    05/19/2023, 5:38 PM
    hey, does anyone know what "phase" the Socket Workers beta is in? I saw the page to join but couldn't see if it's not available yet, private beta, or anythin'
  • u

    Unsmart | Tech debt

    05/19/2023, 5:39 PM
    public beta
  • j

    James

    05/19/2023, 5:39 PM
    TCP workers or something else? They’re open to everyone: https://blog.cloudflare.com/workers-tcp-socket-api-connect-databases/
  • u

    Unsmart | Tech debt

    05/19/2023, 5:39 PM
    Yup TCP workers
  • c

    Colin

    05/19/2023, 5:39 PM
    sorry to clarify, I meant Workers acting as a TCP server
  • c

    Colin

    05/19/2023, 5:40 PM
    i didn't know connect() was called Socket Workers too
  • u

    Unsmart | Tech debt

    05/19/2023, 5:41 PM
    They renamed socket workers to TCP Workers. Inbound TCP is eventually maybe 🤷
  • c

    Colin

    05/19/2023, 5:42 PM
    ahhhh okay - then I guess inbound TCP is what i mean 🤷‍♂️
  • c

    Colin

    05/19/2023, 5:43 PM
    i had thought I read a blog post linking to https://www.cloudflare.com/database-connectors-early-access/ to sign up for it, but now looking at it it seems to be for outbound TCP
  • n

    nora

    05/19/2023, 6:09 PM
    Do you perhaps mean websockets?
1...248124822483...2509Latest