Skip to content

Commit

Permalink
Don't use newrelic-admin for the WebSocket
Browse files Browse the repository at this point in the history
#8386 changed the WebSocket command
in `supervisord.conf` to be prefixed by `newrelic-admin run-program ...`
which it wasn't before. I suspect that might have broken the WebSocket.
If I'm right, this will hopefully fix it.

Slack thread: https://hypothes-is.slack.com/archives/C4K6M7P5E/p1704201384991689?thread_ts=1704200985.822419&cid=C4K6M7P5E
  • Loading branch information
seanh committed Jan 2, 2024
1 parent 81459f1 commit 3cc8849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ stderr_events_enabled=true
autostart = %(ENV_ENABLE_WEB)s

[program:websocket]
command=newrelic-admin run-program gunicorn --paste conf/websocket.ini --config conf/gunicorn-websocket.conf.py
command=gunicorn --paste conf/websocket.ini --config conf/gunicorn-websocket.conf.py
stdout_logfile=NONE
stderr_logfile=NONE
stdout_events_enabled=true
stderr_events_enabled=true
autostart = %(ENV_ENABLE_WEBSOCKET)s

[program:websocket-monolithic]
command=newrelic-admin run-program gunicorn --paste conf/websocket-monolithic.ini --config conf/gunicorn-websocket-monolithic.conf.py
command=gunicorn --paste conf/websocket-monolithic.ini --config conf/gunicorn-websocket-monolithic.conf.py
stdout_logfile=NONE
stderr_logfile=NONE
stdout_events_enabled=true
Expand Down

0 comments on commit 3cc8849

Please sign in to comment.