remove extraneous log

This commit is contained in:
Gergő Móricz 2025-06-03 16:24:02 +02:00
parent 39dd721781
commit 2fe35a4e3d

View File

@ -16,13 +16,6 @@ export async function sendDocumentToIndex(meta: Meta, document: Document) {
|| Object.keys(meta.options.headers).length === 0
);
meta.logger.warn("shouldCache", {
shouldCache,
winnerEngine: meta.winnerEngine !== "cache" && meta.winnerEngine !== "index" && meta.winnerEngine !== "index;documents",
featureFlags: !meta.featureFlags.has("actions"),
headers: meta.options.headers === undefined || Object.keys(meta.options.headers).length === 0,
});
if (!shouldCache) {
return document;
}