Skip to content

Commit

Permalink
doc is never delayed if db watchers disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego authored Dec 9, 2024
1 parent 3b606df commit d71f267
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/meteor/server/startup/watchDb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@ if (!dbWatchersDisabled) {
}

export function isLastDocDelayed(): boolean {
if (dbWatchersDisabled) {
return true;
}
return watcher.isLastDocDelayed();
}

0 comments on commit d71f267

Please sign in to comment.