summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-01-21 18:55:34 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2020-01-21 18:55:34 +0100
commitd3aed470f0a75eef35ca4c6ee4ae2e30cbbc31fc (patch)
treee660398d244a2f40000aef24ec8adba2bc536892
parent65c7386d46721a5e64db33f72da11a9e62bad343 (diff)
db-iris: Correctly set cache expiry
-rwxr-xr-xbin/db-iris12
1 files 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 ($@) {