diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-01-21 18:55:34 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-01-21 18:55:34 +0100 |
commit | d3aed470f0a75eef35ca4c6ee4ae2e30cbbc31fc (patch) | |
tree | e660398d244a2f40000aef24ec8adba2bc536892 | |
parent | 65c7386d46721a5e64db33f72da11a9e62bad343 (diff) |
db-iris: Correctly set cache expiry
-rwxr-xr-x | bin/db-iris | 12 |
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 ($@) { |