Increase zfs transaction timeout.

The goal here is to improve battery life by not waking up the CPU as often, but until I get the touchpad interrupt issue resolved, the difference won't be noticeable.
This commit is contained in:
Tom Alexander
2023-03-05 09:28:35 -05:00
parent 68ef17de4d
commit 14d80f5075
3 changed files with 13 additions and 5 deletions

View File

@@ -5,6 +5,9 @@ set -euo pipefail
IFS=$'\n\t'
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# TODO: Maybe I should be reading hw.acpi.thermal.tz0.temperature
# TODO: I could get the number of cores with kern.smp.cpus
SLEEP_INTERVAL=${SLEEP_INTERVAL:-30}
while true; do