Skip to content

Commit

Permalink
Add serverless telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
robballantyne committed Dec 5, 2023
1 parent 800f3fd commit a69f6eb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ command=/opt/ai-dock/bin/supervisor-comfyui.sh
process_name=%(program_name)s
numprocs=1
directory=/opt/ComfyUI
priority=1500
priority=100
autostart=true
startsecs=5
startretries=3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ command=/opt/ai-dock/bin/supervisor-comfyui-rp-api.sh
process_name=%(program_name)s
numprocs=1
directory=/opt/serverless/providers/runpod
priority=1500
priority=100
autostart=true
startsecs=5
startretries=3
Expand Down
3 changes: 2 additions & 1 deletion build/COPY_ROOT/opt/ai-dock/bin/supervisor-comfyui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ function start() {
fi
fi

printf "Starting %s...\n" ${SERVICE_NAME}
printf "%s started: %s\n" "${SERVICE_NAME}" "$(date +"%x %T.%3N")" >> /var/log/timing_data
printf "Starting %s...\n" "${SERVICE_NAME}"

kill $(lsof -t -i:$LISTEN_PORT) > /dev/null 2>&1 &
wait -n
Expand Down
2 changes: 1 addition & 1 deletion build/COPY_ROOT/opt/caddy/share/service_config_18188
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
}

reverse_proxy localhost:!LISTEN_PORT
}
}
1 change: 1 addition & 0 deletions build/COPY_ROOT/opt/caddy/share/service_config_18188_auth
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@

reverse_proxy localhost:!LISTEN_PORT
}

0 comments on commit a69f6eb

Please sign in to comment.