aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-05-16 12:42:38 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-05-16 12:42:38 +0200
commit0e73f85c113e5866be2de2a281704eb8cdebd0c5 (patch)
tree7e1b7fb476877070488bc38497497c448775354b
parent5e481a768b4cea4534f5f775ce565a79cb1e3eb9 (diff)
log-forward: do *not* wait to be fully connected
Let's forward logs as early as possible. All notification functions are expected to handle notifications with queues, so nothing is lost. Just the opposite: Logs being rotated before forwarding becomes less likely.
-rw-r--r--log-forward3
1 files changed, 0 insertions, 3 deletions
diff --git a/log-forward b/log-forward
index 1aa0363..bb57522 100644
--- a/log-forward
+++ b/log-forward
@@ -27,7 +27,6 @@
:global ScriptLock;
:global SendNotification2;
:global SymbolForNotification;
-:global WaitFullyConnected;
$ScriptLock $0;
@@ -40,8 +39,6 @@ $ScriptLock $0;
$LogPrintExit2 info $0 ("Rate limit in action, not forwarding logs, if any!") true;
}
-$WaitFullyConnected;
-
:local Count 0;
:local Duplicates false;
:local Last [ $IfThenElse ([ :len $LogForwardLast ] > 0) [ $HexToNum $LogForwardLast ] -1 ];