We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
タイトル通り。POST /shutdownあたりに送ってから終了する感じです。
POST /shutdown
Graceful shutdownができる
ないはず?
エンジン終了前に送信する。 レスポンスは待つが404を許容しておく(500番台返されたらエラートーストを出してもいいかも)
0.?.0
エンジン側に立てるべきだったかも?
The text was updated successfully, but these errors were encountered:
APIを実装するのもいいかもですが、終了シグナルを送る形でもいいのかなと思いました。 追加実装不要ですし、外部からAPIを叩かれる心配もないですし。
・・・もしかして今の実装がすでにそうなってるかも・・・? (プロセスが消えるまでアプリが待ってないかもですが)
Sorry, something went wrong.
シグナル送られましたね。アプリも待ってそうです。閉じます。
なるほどです!! ログ見るにstdoutも切ってる気がするので(本当?)、正確にはkillを実行して死を待機してからシャットダウンするみたいな感じにしても良いかもですかね。
No branches or pull requests
内容
タイトル通り。
POST /shutdown
あたりに送ってから終了する感じです。Pros 良くなる点
Graceful shutdownができる
Cons 悪くなる点
ないはず?
実現方法
エンジン終了前に送信する。
レスポンスは待つが404を許容しておく(500番台返されたらエラートーストを出してもいいかも)
VOICEVOXのバージョン
0.?.0
OSの種類/ディストリ/バージョン
その他
エンジン側に立てるべきだったかも?
The text was updated successfully, but these errors were encountered: