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,
|
||||
neighbourFragmentEntry
|
||||
} = 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);
|
||||
end = null;
|
||||
}
|
||||
|
|
Reference in a new issue