good_job
good_job copied to clipboard
Use AS ForkTracker (when supporting Rails 6.1+)
Can use this as of Rails 6.1: https://github.com/rails/rails/pull/37312
Another older compatibility check (suggested by @matthewd) is to compare database connection pool equality, though GoodJob is already doing a PID check to detect forks.