summaryrefslogtreecommitdiff
path: root/lib/Travelynx
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-01-07 13:57:47 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-01-07 13:57:47 +0100
commitdbd9d9951f8c087c74bb173af8017ce0ac5d8bb9 (patch)
treee233ab61e2520dc0450f53f302494b2763dc622e /lib/Travelynx
parent61b91fe4b266e3c7984d37ccad3e21380372b921 (diff)
decrease amount of traewelling get_status requests
Diffstat (limited to 'lib/Travelynx')
-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 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},