forked from mystiq/hydrogen-web
only log and clear when actually needed
This commit is contained in:
parent
e1821b1753
commit
8208464653
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ export class GapWriter {
|
||||||
nonOverlappingEvents,
|
nonOverlappingEvents,
|
||||||
neighbourFragmentEntry
|
neighbourFragmentEntry
|
||||||
} = await this._findOverlappingEvents(fragmentEntry, chunk, txn, log);
|
} = await this._findOverlappingEvents(fragmentEntry, chunk, txn, log);
|
||||||
if (!neighbourFragmentEntry && nonOverlappingEvents.length === 0) {
|
if (!neighbourFragmentEntry && nonOverlappingEvents.length === 0 && typeof end === "string") {
|
||||||
log.log("hit #160, clearing token", log.level.Warn);
|
log.log("hit #160, clearing token", log.level.Warn);
|
||||||
end = null;
|
end = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue