JSONMETER: Time out BlockingCall will not stop regular update anymore

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4869 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
tpoitzsch
2014-02-10 05:59:50 +00:00
parent 787e39cd50
commit f251a8f96b

View File

@@ -525,11 +525,11 @@ sub ############################
JSONMETER_UpdateAborted($) JSONMETER_UpdateAborted($)
{ {
my ($hash) = @_; my ($hash) = @_;
Log3 $hash->{NAME}, 3, "BlockingCall for ". $hash->{NAME} ." was aborted";
RemoveInternalTimer($hash);
delete($hash->{helper}{RUNNING_PID}); delete($hash->{helper}{RUNNING_PID});
my $name = $hash->{NAME};
my $host = $hash->{HOST};
Log3 $hash, 1, "$name Error: Timeout when connecting to host $host";
} # end JSONMETER_UpdateAborted } # end JSONMETER_UpdateAborted