diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-04-29 17:39:07 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-04-29 17:39:07 +0200 |
commit | 2cf85576e935e3667ce54c7d263105ec43cc8dec (patch) | |
tree | a046e6411df75109d39ac4da6f6324a568aee7d3 | |
parent | c5d3da4b222c1ae125e9e74db6276098bb414bea (diff) |
set a timeout
-rw-r--r-- | index.pl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -68,7 +68,8 @@ sub get_results { else { $status = Travel::Status::DE::VRR->new( place => $city, - name => $stop + name => $stop, + timeout => 3, ); } $results = [ [ $status->results ], $status->errstr ]; |