From dbd9d9951f8c087c74bb173af8017ce0ac5d8bb9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 7 Jan 2023 13:57:47 +0100 Subject: decrease amount of traewelling get_status requests --- lib/Travelynx/Command/traewelling.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Travelynx/Command/traewelling.pm b/lib/Travelynx/Command/traewelling.pm index a586028..ca241ad 100644 --- a/lib/Travelynx/Command/traewelling.pm +++ b/lib/Travelynx/Command/traewelling.pm @@ -39,7 +39,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(0.5)->then( + Mojo::Promise->timer(1)->then( sub { return $self->app->traewelling_api->get_status_p( username => $account_data->{data}{user_name}, -- cgit v1.2.3