Skip to content

Commit 658b462

Browse files
nolanlawsonGargron
authored andcommitted
perf: run node directly when streaming (mastodon#10032)
1 parent 188f1c7 commit 658b462

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dist/mastodon-streaming.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ WorkingDirectory=/home/mastodon/live
99
Environment="NODE_ENV=production"
1010
Environment="PORT=4000"
1111
Environment="STREAMING_CLUSTER_NUM=1"
12-
ExecStart=/usr/bin/npm run start
12+
ExecStart=/usr/bin/node ./streaming
1313
TimeoutSec=15
1414
Restart=always
1515

0 commit comments

Comments
 (0)