mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
00_MQTT2_SERVER.pm: avoid log for strange power saving technique (Forum #115834)
git-svn-id: https://svn.fhem.de/fhem/trunk@23161 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7047ac9664
commit
55eca13950
@ -90,8 +90,9 @@ MQTT2_SERVER_keepaliveChecker($)
|
||||
$now < $cHash->{lastMsgTime}+$cHash->{keepalive}*$multiplier );
|
||||
my $msgName = $clName;
|
||||
$msgName .= "/".$cHash->{cid} if($cHash->{cid});
|
||||
Log3 $hash, 3, "$hash->{NAME}: $msgName left us (keepalive check)";
|
||||
CommandDelete(undef, $clName);
|
||||
Log3 $hash, 3, "$hash->{NAME}: $msgName left us (keepalive check)"
|
||||
if(!$hash->{isReplaced});
|
||||
}
|
||||
}
|
||||
InternalTimer($now+10, "MQTT2_SERVER_keepaliveChecker", $hash, 0);
|
||||
@ -121,6 +122,7 @@ MQTT2_SERVER_Undef($@)
|
||||
!$h->{PEER} || $h->{PEER} ne $hash->{PEER});
|
||||
Log3 $shash, 4,
|
||||
"Closing second connection for $h->{cid}/$h->{PEER} without lwt";
|
||||
$hash->{isReplaced} = 1;
|
||||
return $ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user