diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-09-28 13:11:34 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-09-28 13:11:34 +0200 |
commit | 27ff6427494f3d84a0c423563dc72e4413ad08d3 (patch) | |
tree | 0e4ebc29dbf59bb1e5a255f2831d0535c744cde0 | |
parent | 63dec5ecd9abad8b1539bd599a29a59f235c5393 (diff) |
db-iris: do not fail if Cache::File is unavailable
-rwxr-xr-x | bin/db-iris | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/db-iris b/bin/db-iris index 8edce72..f047699 100755 --- a/bin/db-iris +++ b/bin/db-iris @@ -138,7 +138,7 @@ if ($use_cache) { my $schedule_cache_path = "${cache_path}/db-iris-schedule"; my $realtime_cache_path = "${cache_path}/db-iris-realtime"; eval { - use Cache::File; + require Cache::File; $schedule_cache = Cache::File->new( cache_root => $schedule_cache_path, default_expires => '6 hours', |