bugfix
change AttrVal Fn in SocketKeepAlive Fn
This commit is contained in:
parent
a5c287fb67
commit
d042ad9e6d
@ -715,7 +715,7 @@ sub LGTV_WebOS_SocketKeepAlive {
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
int( gettimeofday() ) - int( $hash->{helper}->{lastResponse} ) >
|
int( gettimeofday() ) - int( $hash->{helper}->{lastResponse} ) >
|
||||||
AttrVal( $hash, 'keepAliveCheckTime', 10 ) )
|
AttrVal( $name, 'keepAliveCheckTime', 10 ) )
|
||||||
{
|
{
|
||||||
LGTV_WebOS_SocketClosePresenceAbsent( $hash, 'absent' );
|
LGTV_WebOS_SocketClosePresenceAbsent( $hash, 'absent' );
|
||||||
Log3 $name, 3,
|
Log3 $name, 3,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user