diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-06-09 16:15:47 +0200 |
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-06-09 16:15:47 +0200 |
| commit | c7e0202d9ecaf625cd308d7196ed904d4b50e589 (patch) | |
| tree | 88ab8a98e3e8530dfdc2e9e4c692c751108918c9 /lib | |
| parent | 5234ccd1a4891dcfed2e07a221176927bf2b8a78 (diff) | |
MOTIS: Fix work command2.13.4
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Travelynx/Command/work.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Travelynx/Command/work.pm b/lib/Travelynx/Command/work.pm index 9cc0ca1..b4b7656 100644 --- a/lib/Travelynx/Command/work.pm +++ b/lib/Travelynx/Command/work.pm @@ -188,7 +188,7 @@ sub run { if ( $entry->{is_motis} ) { eval { - $self->app->motis->trip_id( + $self->app->motis->get_trip_p( service => $entry->{backend_name}, trip_id => $train_id, )->then( @@ -256,9 +256,6 @@ sub run { $self->app->log->error( "work($uid) @ MOTIS $entry->{backend_name}: journey: $err" ); - if ( $err =~ m{HTTP 429} ) { - $dbris_rate_limited = 1; - } } )->wait; |
