pockettracker - limit cpus

This commit is contained in:
Licaon_Kter 2024-08-29 12:44:14 +00:00
parent 8aec6c7df4
commit 1f9e6158a3

View file

@ -42,11 +42,15 @@ Builds:
- versionName: 2.1.0
versionCode: 9
disable: https://gitlab.com/Dacid99/pockettracker/-/issues/2#note_2031151765
commit: f586b4af1e8f59498f09fd5350724f1b7eba986b
subdir: app
gradle:
- yes
sudo:
- export CPUS_MAX=8
- export CPUS=$(getconf _NPROCESSORS_ONLN)
- for (( c=$CPUS_MAX; c<$CPUS; c++ )) ; do echo 0 > /sys/devices/system/cpu/cpu$c/online
; done
AllowedAPKSigningKeys: 4c6f4fba1821ab6fb1c638a07b47abeb31660f5451a6cf2077cb9d036c5ea174