Timeouts erhöht

This commit is contained in:
Marko Oldenburg 2016-11-24 22:50:07 +01:00
parent 355d57c2b1
commit 8ede678bee
2 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ use JSON;
use HttpUtils; use HttpUtils;
my $version = "0.3.22"; my $version = "0.3.25";
@ -324,7 +324,7 @@ sub NUKIBridge_Call($$$$$) {
HttpUtils_NonblockingGet( HttpUtils_NonblockingGet(
{ {
url => $uri, url => $uri,
timeout => 30, timeout => 60,
hash => $hash, hash => $hash,
chash => $chash, chash => $chash,
endpoint => $path, endpoint => $path,
@ -597,7 +597,7 @@ sub NUKIBridge_CallBlocking($$$) {
my($err,$data) = HttpUtils_BlockingGet({ my($err,$data) = HttpUtils_BlockingGet({
url => $url, url => $url,
timeout => 5, timeout => 15,
method => "GET", method => "GET",
header => "Content-Type: application/json", header => "Content-Type: application/json",
}); });

View File

@ -33,7 +33,7 @@ use warnings;
use JSON; use JSON;
#use Time::HiRes qw(gettimeofday); #use Time::HiRes qw(gettimeofday);
my $version = "0.3.22"; my $version = "0.3.25";