mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 20:17:45 +00:00
FileLog get bug (or speed optimization)
git-svn-id: https://svn.fhem.de/fhem/trunk@524 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c479e241be
commit
3e85bf898d
@ -390,7 +390,7 @@ seekTo($$$$)
|
|||||||
|
|
||||||
# If the second line is longer then the first,
|
# If the second line is longer then the first,
|
||||||
# binary search will never get it:
|
# binary search will never get it:
|
||||||
if($next eq $last && $data ge $ts && $div < 8192) {
|
if($next eq $last && $data ge $ts && $div < 8192 && $next < 1024) {
|
||||||
$last = 0;
|
$last = 0;
|
||||||
$div *= 2;
|
$div *= 2;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user