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

Commit

Permalink
fix: ensure alby hub never uses more than 90% cpu (on RPI zero)
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Jul 1, 2024
1 parent ea6829c commit ef24440
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 ef24440

Please sign in to comment.