0
0
Fork 0

Remove clustering from streaming API (#24655)

This commit is contained in:
Emelia Smith 2023-04-26 11:37:51 +02:00 committed by GitHub
parent 36631e40cc
commit 301e03eb8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 53 additions and 101 deletions

View file

@ -8,10 +8,10 @@ User=mastodon
WorkingDirectory=/home/mastodon/live
Environment="NODE_ENV=production"
Environment="PORT=4000"
Environment="STREAMING_CLUSTER_NUM=1"
ExecStart=/usr/bin/node ./streaming
TimeoutSec=15
Restart=always
LimitNOFILE=65536
# Proc filesystem
ProcSubset=pid
ProtectProc=invisible