From fa48273c6b5941b6bac269985f8996047779b305 Mon Sep 17 00:00:00 2001 From: Mark Feit Date: Tue, 3 Sep 2024 12:34:33 +0000 Subject: [PATCH] Don't let leaky API processes live longer than 30 minutes. #1466 --- .../api-server/pscheduler-api-server.conf.raw | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pscheduler-server/pscheduler-server/api-server/pscheduler-api-server.conf.raw b/pscheduler-server/pscheduler-server/api-server/pscheduler-api-server.conf.raw index df9eec609..3b7042e26 100644 --- a/pscheduler-server/pscheduler-server/api-server/pscheduler-api-server.conf.raw +++ b/pscheduler-server/pscheduler-server/api-server/pscheduler-api-server.conf.raw @@ -10,8 +10,9 @@ WSGIDaemonProcess __USER_NAME__ \ \ processes=10 \ maximum-requests=1000000 \ - graceful-timeout=300 - + graceful-timeout=300 \ + restart-interval=1800 \ + inactivity-timeout=600 WSGIScriptAlias __API_ROOT__ __API_DIR__/__NAME__.wsgi