moonbeam-nyc/snorlax

Feature Request: Indefinite sleep, wake up on ingress

volatilemolotov opened this issue · 3 comments

Im not seeing an option to set up a deplyoment to sleep permanently until woken up?

Is this something that is currently possible or requires development?

It's not currently possible, but it'll be coming soon. The obstacle is that indefinite sleep would need some way to sense inactivity so that it can sleep again.

Yeah it crossed my mind also.

Could we add forceSleepAfter: xm or still read sleepTime.

Its crude but a good start until ideas on how to detect inactivity come. Perhaps integration with prometheus if cpu is low for x time.

Of course im willing to help. Not a developer but perhaps i still can help, with development or just testing. Let me know