From 8a366f035d4ac940166cbb7923654d5b2bf8a6da Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 23 Feb 2021 10:02:12 +0100 Subject: backup: notify about random delay --- global-config | 2 +- global-config-overlay | 2 +- global-config.changes | 1 + global-functions | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/global-config b/global-config index d25c456..1838725 100644 --- a/global-config +++ b/global-config @@ -8,7 +8,7 @@ # Make sure all configuration properties are up to date and this # value is in sync with value in script 'global-functions'! -:global GlobalConfigVersion 45; +:global GlobalConfigVersion 46; # This is used for DNS and backup file. :global Domain "example.com"; diff --git a/global-config-overlay b/global-config-overlay index 6a8050a..6fd48e6 100644 --- a/global-config-overlay +++ b/global-config-overlay @@ -9,7 +9,7 @@ # Make sure all configuration properties are up to date and this # value is in sync with value in script 'global-functions'! # Comment or remove to disable change notifications. -:global GlobalConfigVersion 45; +:global GlobalConfigVersion 46; # Copy configuration from global-config here and modify it. diff --git a/global-config.changes b/global-config.changes index 283d2c0..e1951df 100644 --- a/global-config.changes +++ b/global-config.changes @@ -49,6 +49,7 @@ 43="Added queue for e-mail notifications to resend later on error."; 44="Dropped script 'global-wait', all scripts wait on their own now."; 45="We have a Telegram Group! Come along and say hello: https://t.me/routeros_scripts"; + 46="Added configurable random delay in backup scripts to stretch execution and prevent resource congestion."; }; # Migration steps to be applied on script updates diff --git a/global-functions b/global-functions index e958d74..cc01ed3 100644 --- a/global-functions +++ b/global-functions @@ -8,7 +8,7 @@ # https://git.eworm.de/cgit/routeros-scripts/about/ # expected configuration version -:global ExpectedConfigVersion 45; +:global ExpectedConfigVersion 46; # global variables not to be changed by user :global GlobalFunctionsReady false; -- cgit v1.2.3-70-g09d2