Merge pull request #30244 from overleaf/bg-add-missing-configuration-for-pdf-caching

add missing configuration for pdf caching

GitOrigin-RevId: b5791d5d6db7fc9e970acaa0ca9cc43e1a7ca8ec
This commit is contained in:
Brian Gough
2025-12-11 11:26:14 +00:00
committed by Copybot
parent ef2ad9eea8
commit 44cb381a4d
2 changed files with 13 additions and 4 deletions

View File

@@ -703,10 +703,6 @@ module.exports = {
// By default turn on feature flag, can be overridden per request.
enablePdfCaching: process.env.ENABLE_PDF_CACHING === 'true',
pdfCachingMinChunkSize: 7500,
pdfCaching: true,
cachedUrlLookupEnabled: true,
// Maximum size of text documents in the real-time editing system.
max_doc_length: 2 * 1024 * 1024, // 2mb