mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
00_MQTT2_SERVER.pm: fix keepAliveFactor (Forum #90145)
git-svn-id: https://svn.fhem.de/fhem/trunk@20035 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bf5005285b
commit
615dd33b2f
@ -82,7 +82,7 @@ MQTT2_SERVER_keepaliveChecker($)
|
||||
{
|
||||
my ($hash) = @_;
|
||||
my $now = gettimeofday();
|
||||
my $multiplier = AttrVal($hash, "keepaliveFactor", 1.5);
|
||||
my $multiplier = AttrVal($hash->{NAME}, "keepaliveFactor", 1.5);
|
||||
if($multiplier) {
|
||||
foreach my $clName (keys %{$hash->{clients}}) {
|
||||
my $cHash = $defs{$clName};
|
||||
|
Loading…
Reference in New Issue
Block a user