Invalidate stats cache after adding a new journey

This commit is contained in:
Daniel Friesel 2019-04-26 20:39:44 +02:00
parent d77566bba4
commit a760274c7c

View file

@ -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 ($@) {