From b00c3698b2a9a8702a02c6c978560aad6cff8698 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 15 Jun 2024 10:43:47 +0200 Subject: traewelling: increase latency between traewelling.de requests --- lib/Travelynx/Command/traewelling.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Travelynx') diff --git a/lib/Travelynx/Command/traewelling.pm b/lib/Travelynx/Command/traewelling.pm index 52222f0..ed40371 100644 --- a/lib/Travelynx/Command/traewelling.pm +++ b/lib/Travelynx/Command/traewelling.pm @@ -52,7 +52,7 @@ sub pull_sync { # In 'work', the event loop is not running, # so there's no need to multiply by $request_count at the moment - Mojo::Promise->timer(1)->then( + Mojo::Promise->timer(1.5)->then( sub { return $self->app->traewelling_api->get_status_p( username => $account_data->{data}{user_name}, -- cgit v1.2.3