-
Notifications
You must be signed in to change notification settings - Fork 23
Description
@christianalfoni Sorry to bother you, the last problem has been solved and it is running well now, but we have encountered some other problems in actual development and would like to ask for your help
Questions about shutting down
-
I would like to ask how the billing for each sandbox in codesandbox is calculated currently?
-
Is there still a concept of dormancy? If so, under what circumstances will dormancy be implemented? Will billing continue after dormancy?
-
If I use the API to close the current sandbox, will the billing stop normally?
const sandbox = await sdk.sandboxes.resume('sandbox-id')
await sdk.sandboxes.shutdown(sandbox.id);
Or is there any other way to shut it down and stop charging?
How is the sleep state defined? I remember that the 0.x document has a default sleep state of 30 minutes.
As our user base grows, we create a lot of sandboxes. I found that some sandboxes are opened for more than 100 hours, while others are only opened for 1 or 2 hours. So I don’t know how to distinguish them and how to stop them correctly when users are not using them.