From d3aed470f0a75eef35ca4c6ee4ae2e30cbbc31fc Mon Sep 17 00:00:00 2001
From: Daniel Friesel <daniel.friesel@uos.de>
Date: Tue, 21 Jan 2020 18:55:34 +0100
Subject: [PATCH] db-iris: Correctly set cache expiry

---
 bin/db-iris | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/bin/db-iris b/bin/db-iris
index fc7b435..301897d 100755
--- a/bin/db-iris
+++ b/bin/db-iris
@@ -144,14 +144,14 @@ if ($use_cache) {
 	eval {
 		use Cache::File;
 		$schedule_cache = Cache::File->new(
-			cache_root     => $schedule_cache_path,
-			defaut_expires => '6 hours',
-			lock_level     => Cache::File::LOCK_LOCAL(),
+			cache_root      => $schedule_cache_path,
+			default_expires => '6 hours',
+			lock_level      => Cache::File::LOCK_LOCAL(),
 		);
 		$realtime_cache = Cache::File->new(
-			cache_root     => $realtime_cache_path,
-			defaut_expires => '180 seconds',
-			lock_level     => Cache::File::LOCK_LOCAL(),
+			cache_root      => $realtime_cache_path,
+			default_expires => '180 seconds',
+			lock_level      => Cache::File::LOCK_LOCAL(),
 		);
 	};
 	if ($@) {
-- 
GitLab