From f5d7c271b553c4c660e7fa0c68128193aaaeda3e Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 21 Aug 2026 07:15:52 -0400 Subject: [PATCH] Fix issue with non-systemd startup --- confluent_server/confluent/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/confluent_server/confluent/main.py b/confluent_server/confluent/main.py index 3c4337d8..4d0fe881 100644 --- a/confluent_server/confluent/main.py +++ b/confluent_server/confluent/main.py @@ -376,6 +376,7 @@ async def asyncrun(args): webservice = httpapi.HttpApi(http_bind_host, http_bind_port, http_bind_group, http_bind_perms) webservice.start() notifysock = os.environ.get('NOTIFY_SOCKET', None) + watchdogsecs = 200 if notifysock: watchdogsecs = int(os.environ.get('WATCHDOG_USEC', '0')) / 1000000 if not watchdogsecs: @@ -446,4 +447,4 @@ def _get_connector_config(session): return (host, port, group, perms) def _get_logdirectory(): - return conf.get_option('globals', 'logdirectory') \ No newline at end of file + return conf.get_option('globals', 'logdirectory')