diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2017-01-28 20:10:38 +0100 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2017-01-28 20:10:38 +0100 | 
| commit | a69271338879099a1ffee9bc2d0a744c6d2cb75f (patch) | |
| tree | 7524e66ab378062032fad61579b486481b969462 | |
| parent | 2b4bbf2df93241b6269b4e28c344b348968efc86 (diff) | |
use lookbehind to also show delayed trains scheduled for the previous hour
| -rw-r--r-- | index.pl | 3 | 
1 files changed, 2 insertions, 1 deletions
| @@ -41,7 +41,7 @@ sub get_results_for {  	my $cache_iris_main = Cache::File->new(  		cache_root => $ENV{DBFAKEDISPLAY_IRIS_CACHE} // '/tmp/dbf-iris-main', -		default_expires => '2 hours', +		default_expires => '6 hours',  		lock_level      => Cache::File::LOCK_LOCAL(),  	); @@ -74,6 +74,7 @@ sub get_results_for {  				station        => $station,  				main_cache     => $cache_iris_main,  				realtime_cache => $cache_iris_rt, +				lookbehind     => 60,  				%opt  			);  			$data = { | 
