mikeysee
08/21/2021, 11:57 AMraRaRa
08/21/2021, 8:37 PMraRaRa
08/21/2021, 9:12 PMjohn.spurlock
08/21/2021, 9:40 PMsetTimeout
and they pretty much always fire, but not if the object needs to be destroyed (colo goes down, or service upgrade) or runs out of runtime. For the latter, I believe the cloudflare team said that they are working on an update to ensure they will fire more consistently in the future (search the scrollback), but no public docs for that yet.raRaRa
08/21/2021, 9:42 PMjohn.spurlock
08/21/2021, 9:50 PMsetTimeout
for the 99% case, but also store the timer in state and have a cron that runs every minute as a fallback, the cron is guaranteed to run even if the DO is recreatedraRaRa
08/21/2021, 9:52 PMraRaRa
08/21/2021, 9:52 PMjohn.spurlock
08/21/2021, 9:53 PMstate.storage
raRaRa
08/21/2021, 9:53 PMjohn.spurlock
08/21/2021, 9:53 PMjohn.spurlock
08/21/2021, 9:54 PMHardAtWork
08/21/2021, 9:59 PMraRaRa
08/21/2021, 10:01 PMjohn.spurlock
08/21/2021, 10:01 PMHardAtWork
08/21/2021, 10:02 PMjohn.spurlock
08/21/2021, 10:03 PMjohn.spurlock
08/21/2021, 10:04 PMSudonim
08/22/2021, 12:13 AMjohn.spurlock
08/22/2021, 3:48 AMstate.storage
, it is there if you need it, but you can have your object live only in memory if you want.HardAtWork
08/22/2021, 4:26 AMraRaRa
08/22/2021, 9:05 AMItsWendell
08/22/2021, 9:54 AMalbert
08/22/2021, 10:34 AMraRaRa
08/22/2021, 11:39 AMMrBBot
08/22/2021, 11:50 AMraRaRa
08/22/2021, 12:05 PMraRaRa
08/22/2021, 12:29 PMItsWendell
08/22/2021, 3:40 PMMallissin
08/22/2021, 7:37 PM