Buzzcord、Heroku無料枠で30分アクセスがなくてBotがSleepしたときのログ
code:bash
Oct 18 22:04:12 buzzcord heroku/bot.1 Idling
Oct 18 22:04:12 buzzcord heroku/bot.1 State changed from up to down
Oct 18 22:04:12 buzzcord heroku/web.1 Idling
Oct 18 22:04:12 buzzcord heroku/web.1 State changed from up to down
Oct 18 22:04:13 buzzcord heroku/web.1 Stopping all processes with SIGTERM
Oct 18 22:04:13 buzzcord heroku/bot.1 Stopping all processes with SIGTERM
Oct 18 22:04:13 buzzcord app/web.1 - Gracefully stopping, waiting for requests to finish
Oct 18 22:04:13 buzzcord app/web.1 Exiting
Oct 18 22:04:13 buzzcord heroku/web.1 Process exited with status 143
Oct 18 22:04:13 buzzcord app/bot.1 rails aborted!
Oct 18 22:04:13 buzzcord app/bot.1 SignalException: SIGTERM
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/bundler/gems/discordrb-a3d30b57471e/lib/discordrb/gateway.rb:190:in `join'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/bundler/gems/discordrb-a3d30b57471e/lib/discordrb/gateway.rb:190:in `sync'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/bundler/gems/discordrb-a3d30b57471e/lib/discordrb/bot.rb:275:in `run'
Oct 18 22:04:13 buzzcord app/bot.1 /app/app/models/discord_bot.rb:11:in `start'
Oct 18 22:04:13 buzzcord app/bot.1 /app/lib/tasks/discord_bot.rake:6:in `block (2 levels) in <main>'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `block in execute'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `each'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `execute'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:188:in `invoke'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:160:in `invoke_task'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block (2 levels) in top_level'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `each'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block in top_level'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:125:in `run_with_threads'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:110:in `top_level'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6/lib/rails/commands/rake/rake_command.rb:24:in `block (2 levels) in perform'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6/lib/rails/commands/rake/rake_command.rb:24:in `block in perform'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/rake_module.rb:59:in `with_application'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6/lib/rails/commands/rake/rake_command.rb:18:in `perform'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6/lib/rails/command.rb:50:in `invoke'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6/lib/rails/commands.rb:18:in `<main>'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
Oct 18 22:04:13 buzzcord app/bot.1 /app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
Oct 18 22:04:13 buzzcord app/bot.1 /app/bin/rails:5:in `<main>'
Oct 18 22:04:13 buzzcord app/bot.1 Tasks: TOP => discord_bot:start
Oct 18 22:04:13 buzzcord app/bot.1 (See full trace by running task with --trace)
Oct 18 22:04:13 buzzcord heroku/bot.1 Process exited with status 1