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:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user