summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgi/index.pl6
1 files changed, 1 insertions, 5 deletions
diff --git a/cgi/index.pl b/cgi/index.pl
index 12add75..7e88cee 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -26,11 +26,7 @@ my %default = (
sub get_results {
my ( $backend, $city, $stop ) = @_;
- my $expiry = 900;
-
- if ( lc($city) eq 'berlin' or lc($stop) ~~ [qw[hbf hauptbahnhof]] ) {
- $expiry = 600;
- }
+ my $expiry = 420;
my $cache = Cache::File->new(
cache_root => '/tmp/vrr-fake',