rails / solid_queue

Database-backed Active Job backend
MIT License
1.95k stars 130 forks source link

option for silencing logging for heartbeats #389

Open jlvallelonga opened 1 month ago

jlvallelonga commented 1 month ago

In development, and possible other environments, it's sometimes nice to not see the heartbeat logging. This adds an option to silence the logging for heartbeats. It's very similar to the "silence_polling" option.

Usage:

  config.solid_queue.silence_heartbeats = true
rosa commented 1 week ago

Thanks @jlvallelonga! However, I was hoping we could get https://github.com/rails/solid_queue/issues/210 done instead of having a bunch of different options to silence different parts 😅

jlvallelonga commented 1 week ago

Yeah I was thinking about that a bit when I was doing this. Makes sense :)