Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…m-Partitions into master
  • Loading branch information
rneher-igel committed Jul 7, 2023
2 parents 3727a40 + 32e5dda commit 578d956
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Binary file modified CP_Packages/Apps/Frame.zip
Binary file not shown.
12 changes: 0 additions & 12 deletions CP_Source/Apps/Frame/build/frame-sat-kiosk-launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,6 @@ querySessionStatus() {
pollSessionStatus() {
logMessage "Polling session status..."

local elapsedSeconds=0
local retryDurationMinutes=${SESSION_RETRY_DURATION_MINUTES:-10} # retry for 10 minutes by default
local maxElapsedSeconds=$((retryDurationMinutes * 60)) # Convert minutes to seconds

# Query the session's status
querySessionStatus
logMessage "Sesssion state: [$sessionStatus] $sessionState"
Expand All @@ -280,14 +276,6 @@ pollSessionStatus() {
logMessage "Sesssion state: [$sessionStatus] $sessionState"

sleep $FRAME_POLLING_INTERVAL_SECONDS
elapsedSeconds=$((elapsedSeconds + $FRAME_POLLING_INTERVAL_SECONDS)) # Increment the elapsed seconds by the sleep duration

if [ $elapsedSeconds -ge $maxElapsedSeconds ]; then
logMessage "Session Streaming Timeout reached. Restarting Frame Wrapper..."
keep_token=true
quitAndRestartWrapper
break
fi
done

# Session closed or otherwise? Time to restart!
Expand Down

0 comments on commit 578d956

Please sign in to comment.