Skip to content

Commit

Permalink
Fix minor issues after PR #1881 and #1981 (#1983)
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Nguyen Duc <[email protected]>
  • Loading branch information
VietND96 authored Oct 27, 2023
1 parent 020ded4 commit 0f7367e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Video/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL authors="Selenium <[email protected]>"
#========================
RUN apk update \
&& apk upgrade \
&& apk add --no-cache --update --virtual .build-deps supervisor bash curl jq xset python3 py3-psutil py3-pip \
&& apk add --no-cache --update --virtual .build-deps supervisor bash curl jq xset xdpyinfo python3 py3-psutil py3-pip \
&& ln -sf python3 /usr/bin/python \
&& rm -rf /tmp/* /var/cache/apk/*

Expand Down
1 change: 1 addition & 0 deletions Video/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ pidfile=/var/run/supervisor/supervisord.pid ; (supervisord pidfile;default sup
nodaemon=true ; (start in foreground if true;default false)
minfds=1024 ; (min. avail startup file descriptors;default 1024)
minprocs=200 ; (min. avail process descriptors;default 200)
user=root ; (default is current user, required if root)

[program:video-recording]
priority=0
Expand Down
5 changes: 4 additions & 1 deletion charts/selenium-grid/templates/video-cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ data:
return_code=1
max_attempts=600
attempts=0
mkfifo /videos/uploadpipe
if [ ! -p /videos/uploadpipe ];
then
mkfifo /videos/uploadpipe
fi
if [[ "$UPLOAD_DESTINATION_PREFIX" = "" ]]
then
echo Upload destination not known since UPLOAD_DESTINATION_PREFIX is not set. Exiting video recorder.
Expand Down

0 comments on commit 0f7367e

Please sign in to comment.