traewelling: increase latency between traewelling.de requests
This commit is contained in:
parent
c105bc4e40
commit
b00c3698b2
1 changed files with 1 additions and 1 deletions
|
@ -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},
|
||||||
|
|
Loading…
Reference in a new issue