traewelling: increase latency between traewelling.de requests

This commit is contained in:
Birte Kristina Friesel 2024-06-15 10:43:47 +02:00
parent c105bc4e40
commit b00c3698b2
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -52,7 +52,7 @@ sub pull_sync {
# In 'work', the event loop is not running, # In 'work', the event loop is not running,
# so there's no need to multiply by $request_count at the moment # 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 { sub {
return $self->app->traewelling_api->get_status_p( return $self->app->traewelling_api->get_status_p(
username => $account_data->{data}{user_name}, username => $account_data->{data}{user_name},