mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-17 19:29:13 +00:00
photoprism - limit cpu core count
This commit is contained in:
parent
b705c1511d
commit
9437c790e2
1 changed files with 5 additions and 0 deletions
|
|
@ -547,6 +547,11 @@ Builds:
|
|||
versionCode: 48
|
||||
commit: 25470dbfc79a40a9f72feb442efa4a695ca31f5a
|
||||
subdir: app
|
||||
sudo:
|
||||
- export CPUS_MAX=6
|
||||
- export CPUS=$(getconf _NPROCESSORS_ONLN)
|
||||
- for (( c=$CPUS_MAX; c<$CPUS; c++ )) ; do echo 0 > /sys/devices/system/cpu/cpu$c/online
|
||||
; done
|
||||
gradle:
|
||||
- yes
|
||||
srclibs:
|
||||
|
|
|
|||
Loading…
Reference in a new issue