Y
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
mrkurt
161 days ago
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.
link
karmajunkie
159 days ago
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.
link
simonw
161 days ago
Looks like it's no network activity for 30 seconds.
link
You can specify a max exec time for a process when you launch it via the API.