From 22548a6b74567bc8bd647c6086acb9f7bf0dbd56 Mon Sep 17 00:00:00 2001
From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch>
Date: Wed, 31 Jan 2018 16:42:12 +0100
Subject: [PATCH] Add a (disabled) exception to test the exponential backoff
 behaviour.

---
 AutoTx/AutoTx.cs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/AutoTx/AutoTx.cs b/AutoTx/AutoTx.cs
index 12aefb2..531a4a0 100644
--- a/AutoTx/AutoTx.cs
+++ b/AutoTx/AutoTx.cs
@@ -483,6 +483,8 @@ namespace AutoTx
         /// Do the main tasks of the service, check system state, trigger transfers, ...
         /// </summary>
         private void RunMainTasks() {
+            // throw new Exception("just a test exception from RunMainTasks");
+
             // mandatory tasks, run on every call:
             SendLowSpaceMail(SystemChecks.CheckFreeDiskSpace(_config.SpaceMonitoring));
             UpdateServiceState();
-- 
GitLab