Hacker News new | ask | show | jobs
by psanford 161 days ago
What is the criteria for a sprite being "idle"? Is it no network activity or is it cpu based?
2 comments

It stays awake if you have an open connection (like sprite console) or an exec session if running and producing stdout.

You can specify a max exec time for a process when you launch it via the API.

Is there something we have to do to get a sprite to idle? Because I started one over the weekend that's still running despite no network usage, so that seems to be currently broken.
Looks like it's no network activity for 30 seconds.