2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-19 08:52:20 +00:00

Relax watchdog timing

Some systems during startup especially may take a hit that crosses the threshold.

Also, some IO hangs in select environments during certain activity can pause a while.

Heartbeat 4 times per interval instead of 2.
This commit is contained in:
Jarrod Johnson
2026-11-18 15:33:53 -05:00
parent be48cb28ce
commit 631d7fa680
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -380,7 +380,7 @@ async def asyncrun(args):
watchdogsecs = int(os.environ.get('WATCHDOG_USEC', '0')) / 1000000
if not watchdogsecs:
watchdogsecs = 200
watchdogsecs = watchdogsecs / 2
watchdogsecs = watchdogsecs / 4
if notifysock.startswith('@'):
notifysock = '\0' + notifysock[1:]
sock = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)
+1 -1
View File
@@ -6,7 +6,7 @@ Description=Confluent hardware manager
[Service]
Type=notify
NotifyAccess=main
WatchdogSec=30s
WatchdogSec=300s
RuntimeDirectory=confluent
CacheDirectory=confluent
LogsDirectory=confluent