gikopoi2 icon indicating copy to clipboard operation
gikopoi2 copied to clipboard

Idea to minimize server restarts while people are streaming?

Open iccanobif opened this issue 3 years ago • 2 comments

When a stream stops, if there are 0 streams active check if the last restart happened (say) more than 20 hours ago. If true, automatically call persistState() and process.exit() to force a restart. Might be interesting to use past logs to calculate at which times of the day streams go to 0 and simulate this mechanism.

iccanobif avatar Dec 19 '21 19:12 iccanobif

Great idea

2sh avatar Dec 19 '21 21:12 2sh

Didn't mean to close

2sh avatar Dec 19 '21 21:12 2sh