3 ms·
I browsed through the documents but it does not seem to be possible to auto destroy a sandbox after certain amount of idle time. This forces who ever is impleme
by _pdp_ 1y ago
I browsed through the documents but it does not seem to be possible to auto destroy a sandbox after certain amount of idle time. This forces who ever is implementing this to do their own cleanup. It is kind of missed opportunity if you ask me as this is a big pain. It is sold as fire and forget but it seems that more serious workflows will require also a lot of supporting infrastructure.
- alooPotato 1y agoYou can easily set an alarm in the durable object to check if it should be killed and then call destroy yourself. Just a couple lines of code.
- _pdp_ 1y agoNice. Thanks for the tip. I did not know that this was a thing. I will look it up.