abiosoft / abiosoft/caddy-exec

Question: auto-sleep / wake-up mechanism

オープン
#27 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
155
フォーク
21
PR マージ指標
30日以内にマージされた PR はありません

説明

Question: Can this module be used in the following scenario =>

I use `supervisord` to start and stop my server.

Ideally, I would like my server to start when the first request comes in and then stay running as long as more requests are coming in. I would also like to define an idle time after which my server would stop automatically **(to save resources)** when no more requests are coming in (for example after one minute).

Is it possible to achieve this `auto-sleep/wake-up` mechanism with this module?

The idea is to host multiple servers on the same PC and let `Caddy` decide which ones should be running and which ones should go to sleep according to incoming requests.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。