Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #556 from getAlby/fix/rpi-cpu-limit-hack
Browse files Browse the repository at this point in the history
fix: ensure alby hub never uses more than 90% cpu (on RPI zero)
  • Loading branch information
bumi authored Jul 1, 2024
2 parents ea6829c + ef24440 commit 202daef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Restart=always
RestartSec=1
User=root
ExecStart=/opt/albyhub/bin/albyhub
# Hack to ensure Alby Hub never uses more than 90% CPU
CPUQuota=90%
Environment="PORT=80"
Environment="WORK_DIR=/opt/albyhub/data"
Expand Down

0 comments on commit 202daef

Please sign in to comment.