Invalidate stats cache after adding a new journey
This commit is contained in:
parent
d77566bba4
commit
a760274c7c
1 changed files with 1 additions and 0 deletions
|
@ -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 ($@) {
|
||||
|
|
Loading…
Reference in a new issue