Skip to content

Commit

Permalink
One more missed microsecond math moment
Browse files Browse the repository at this point in the history
  • Loading branch information
bigntallmike committed Feb 4, 2021
1 parent b9d62c2 commit eea60d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/send.cc
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ void systemd_notify_ready()
{
watchdog_enabled = sd_watchdog_enabled(0, &watchdog_timeout);
if (watchdog_enabled) {
fout << "systemd watchdog enabled every " << watchdog_timeout << " seconds" << endl;
fout << "systemd watchdog enabled every " << (int)(watchdog_timeout/MICROSECOND) << " seconds" << endl;
/* Recommended: half of timeout */
watchdog_delay = (watchdog_timeout/2);
sd_notify(0, "READY=1");
Expand Down

0 comments on commit eea60d6

Please sign in to comment.