Permalink
Browse files

make TTL much longer

  • Loading branch information...
1 parent d05e0c7 commit 4ba27a1dffb89e4770f886826fc17372cf70497c @miyagawa committed Nov 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/RILFeed.pm
View
@@ -9,7 +9,7 @@ use DateTime::Format::Mail;
use Encode;
use WebService::Simple;
-my $cache = App::Cache->new;
+my $cache = App::Cache->new({ ttl => 7 * 24 * 60 * 60 });
my $format = DateTime::Format::Mail->new;
my $apikey = $ENV{RIL_APIKEY};

0 comments on commit 4ba27a1

Please sign in to comment.