From 07924ec38df061eae9a60b4a7c0f46522b9db332 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 10 Oct 2023 21:21:55 +0100 Subject: [PATCH] feat: add sleep time before checking session Add a sleep time of 1 second before checking the session in the command_monitor.sh file. This allows for better synchronization and improves the accuracy of the session check. --- lgsm/modules/command_monitor.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lgsm/modules/command_monitor.sh b/lgsm/modules/command_monitor.sh index f8ceb849f..2d2844588 100644 --- a/lgsm/modules/command_monitor.sh +++ b/lgsm/modules/command_monitor.sh @@ -166,6 +166,7 @@ fn_monitor_check_session() { fn_print_dots "Checking session: " fn_print_checking_eol fn_script_log_info "Checking session: CHECKING" + fn_sleep_time_1 # Tmux session width and height needs to be reviewed as may no longer be required. sessionwidth="80" sessionheight="23"