change sleep

This commit is contained in:
mischa 2020-11-01 11:42:43 +01:00
parent 6e1f5dceca
commit 4f58839058
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# #
# Copyright (c) 2019-2020 Mischa Peters <mischa @ openbsd.amsterdam> # Copyright (c) 2020 Mischa Peters <mischa @ openbsd.amsterdam>
# #
# Permission to use, copy, modify, and distribute this software for any # Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above # purpose with or without fee is hereby granted, provided that the above
@ -14,7 +14,7 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# #
SLEEP=300 SLEEP=180
CPU=$(sysctl -n hw.ncpuonline) CPU=$(sysctl -n hw.ncpuonline)
CPU=$((${CPU}-2)) CPU=$((${CPU}-2))