diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index ce2d739..f5fdb47 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -274,6 +274,7 @@ sub startup { $journey_id = $db->insert( 'journeys', $entry, { returning => 'id' } ) ->hash->{id}; + $self->invalidate_stats_cache( $opt{rt_departure}, $db ); }; if ($@) {