-
-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
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
Running GoodJob in production with systemd throws an error due to a wrong communication with WatchDog #1172
Comments
I guess good_job/lib/good_job/systemd_service.rb Lines 16 to 17 in d06ed8e
This part should be if thread_error
ActiveSupport::Notifications.instrument("systemd_watchdog_error.good_job", { error: thread_error })
GoodJob._on_thread_error(thread_error)
end |
@tagrudev Nice find! Can you make a PR for that? |
Hey @bensheldon - yes, already did #1173 |
I am closing this issue since the PR is now merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I am trying to run good_job in production using the systemd service example that was added in #1029, unfortunately there's a problem with the communication between good_job and watchdog.
My setup
My goodjob service running as a user service
This results in
Goodjob is running, but I think there's a problem with the communication with Watchdog.
I think the problem comes from https://github.com/bensheldon/good_job/pull/1029/files#diff-121a5f6ab045b7079f271a0b111a46097545d1d13550bc5b1394d3e7adb94bfbR178
Looking at the other methods it's missing
return unless exception
is that the problem? adding this locally fixes the issue, but I am not sure if the watchdog communication is ok.The text was updated successfully, but these errors were encountered: