summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command/traewelling.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-06-15 10:43:47 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-06-15 10:43:47 +0200
commitb00c3698b2a9a8702a02c6c978560aad6cff8698 (patch)
tree73b50ac3d12bfdcd00ee36200f98450f656441af /lib/Travelynx/Command/traewelling.pm
parentc105bc4e40bc60fde622929be73440e1f9d112e7 (diff)
traewelling: increase latency between traewelling.de requests
Diffstat (limited to 'lib/Travelynx/Command/traewelling.pm')
-rw-r--r--lib/Travelynx/Command/traewelling.pm2
1 files changed, 1 insertions, 1 deletions
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},