fix: ensure alby hub never uses more than 90% cpu (on RPI zero)

This commit is contained in:
Roland Bewick 2024-07-01 22:08:22 +07:00
parent ea6829c593
commit ef244400a8

View file

@ -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"