KASM-5511 Fix session recording aborting on startup with large S3 profiles

This commit is contained in:
Mariusz Marciniak 2024-01-30 11:52:54 +00:00
parent 3167d67d35
commit 9691fc812b

View File

@ -84,6 +84,8 @@ function pull_profile (){
sleep 3 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"}' 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 fi
} }