mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-15 04:20:56 +00:00
FBAHA.pm: increase timeout for invalid data (Forum #29557)
git-svn-id: https://svn.fhem.de/fhem/trunk@7098 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6e67bd7185
commit
29163f5fb7
@ -262,7 +262,7 @@ FBAHA_Read($@)
|
|||||||
|
|
||||||
# drop old data
|
# drop old data
|
||||||
if($data) {
|
if($data) {
|
||||||
$data = "" if(gettimeofday() - $hash->{READ_TS} > 1);
|
$data = "" if(gettimeofday() - $hash->{READ_TS} > 5);
|
||||||
delete($hash->{READ_TS});
|
delete($hash->{READ_TS});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user