From d71f2678dea27d681f192dc52ec7445111919c20 Mon Sep 17 00:00:00 2001 From: Diego Sampaio Date: Mon, 9 Dec 2024 17:35:57 -0300 Subject: [PATCH] doc is never delayed if db watchers disabled --- apps/meteor/server/startup/watchDb.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/meteor/server/startup/watchDb.ts b/apps/meteor/server/startup/watchDb.ts index bf45af8dcd97..f60f1e5949fd 100644 --- a/apps/meteor/server/startup/watchDb.ts +++ b/apps/meteor/server/startup/watchDb.ts @@ -28,5 +28,8 @@ if (!dbWatchersDisabled) { } export function isLastDocDelayed(): boolean { + if (dbWatchersDisabled) { + return true; + } return watcher.isLastDocDelayed(); }