Skip to content

Commit

Permalink
perf: run node directly when streaming (mastodon#10032)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson authored and Gargron committed Feb 13, 2019
1 parent 188f1c7 commit 658b462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/mastodon-streaming.service
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 658b462

Please sign in to comment.