mirror of
https://github.com/derf/travelynx
synced 2024-11-10 06:54:17 +00:00
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,
|
||||
# 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},
|
||||
|
|
Loading…
Reference in a new issue