diff options
-rwxr-xr-x | lib/Travelynx.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 59d03a9..3840518 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -193,7 +193,11 @@ sub startup { lookbehind => 20, datetime => DateTime->now( time_zone => 'Europe/Berlin' ) ->subtract( minutes => $lookbehind ), - lookahead => $lookbehind + $lookahead, + lookahead => $lookbehind + $lookahead, + lwp_options => { + timeout => 10, + agent => 'travelynx/' . $self->app->config->{version}, + }, ); return { results => [ $status->results ], |