From 0a9a21a4ed98587d19785e04859bb80ae34fddc2 Mon Sep 17 00:00:00 2001 From: Steven Baltakatei Sandoval Date: Tue, 7 Jul 2020 11:37:53 +0000 Subject: [PATCH] feat(bkgpslog):Add PID control loop for buffer start sched Add PID loop to adjust time delay between when buffer read-write jobs are spun off in main while loop. The adjustments are made in order to keep startup times of write jobs BUFFER_TTL seconds apart. This PID loop calculation dynamically accounts for any future synchronous calculations that may be added in the main while loop (including itself). --- exec/bkgpslog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/bkgpslog b/exec/bkgpslog index 430946a..dd37c8d 100755 --- a/exec/bkgpslog +++ b/exec/bkgpslog @@ -14,7 +14,7 @@ DIR_TMP_DEFAULT="/dev/shm"; # Default parent of working directory SCRIPT_TIME_START=$(date +%Y%m%dT%H%M%S.%N); PATH="$HOME/.local/bin:$PATH"; # Add "$(systemd-path user-binaries)" path in case apps saved there SCRIPT_HOSTNAME=$(hostname); # Save hostname of system running this script. -SCRIPT_VERSION="0.4.4-alpha2"; # Define version of script. +SCRIPT_VERSION="0.5.0"; # Define version of script. SCRIPT_NAME="bkgpslog"; # Define basename of script file. SCRIPT_URL="https://gitlab.com/baltakatei/ninfacyzga-01"; # Define wesite hosting this script. AGE_VERSION="1.0.0-beta2"; # Define version of age (encryption program) -- 2.30.2