change sleep
This commit is contained in:
parent
6e1f5dceca
commit
4f58839058
|
@ -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))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue