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
docker stop
今後リマインダーなどの機能を実装した際おそらく外部にデータを置くので、docker stopする際に安全に止める必要がある
SIGTERM
SIGKILL
shutdown()
The text was updated successfully, but these errors were encountered:
Botみたいなイベントループ駆動のアプリケーションでsignal.signalが正しく動くのかわからん
signal.signal
Sorry, something went wrong.
No branches or pull requests
今後リマインダーなどの機能を実装した際おそらく外部にデータを置くので、
docker stop
する際に安全に止める必要があるdocker stop
はSIGTERM
を送る。そのあと10s待ってSIGKILL
を送る(この秒数はコマンド引数で変更可能)shutdown()
関数があるSIGTERM
を受け取るハンドラを追加するThe text was updated successfully, but these errors were encountered: