From 9691fc812bf00b3e77c0bc37cf9f24439be73d3d Mon Sep 17 00:00:00 2001 From: Mariusz Marciniak Date: Tue, 30 Jan 2024 11:52:54 +0000 Subject: [PATCH] KASM-5511 Fix session recording aborting on startup with large S3 profiles --- src/common/startup_scripts/vnc_startup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/startup_scripts/vnc_startup.sh b/src/common/startup_scripts/vnc_startup.sh index d5f16fe..de20ab7 100755 --- a/src/common/startup_scripts/vnc_startup.sh +++ b/src/common/startup_scripts/vnc_startup.sh @@ -84,6 +84,8 @@ function pull_profile (){ sleep 3 http_proxy="" https_proxy="" curl -k "https://${KASM_API_HOST}:${KASM_API_PORT}/api/set_kasm_session_status?token=${KASM_API_JWT}" -H 'Content-Type: application/json' -d '{"status": "running"}' + # Reset the timer to prevent session recording monitor from exiting + SECONDS=0 fi }