mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-25 23:13:33 +00:00
perf: run node directly when streaming (#10032)
This commit is contained in:
parent
1ad0d232b3
commit
77a71236ad
2
dist/mastodon-streaming.service
vendored
2
dist/mastodon-streaming.service
vendored
|
@ -9,7 +9,7 @@ WorkingDirectory=/home/mastodon/live
|
|||
Environment="NODE_ENV=production"
|
||||
Environment="PORT=4000"
|
||||
Environment="STREAMING_CLUSTER_NUM=1"
|
||||
ExecStart=/usr/bin/npm run start
|
||||
ExecStart=/usr/bin/node ./streaming
|
||||
TimeoutSec=15
|
||||
Restart=always
|
||||
|
||||
|
|
Loading…
Reference in a new issue