mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[misc] ContentCacheMetrics: apply review feedback: ignore fast compiles
Co-Authored-By: Brian Gough <brian.gough@overleaf.com>
This commit is contained in:
@@ -36,7 +36,7 @@ function emitPdfCachingStats(stats, timings) {
|
||||
? timings.compileE2E /
|
||||
(timings.compileE2E - timings['compute-pdf-caching'])
|
||||
: 1
|
||||
if (fraction > 1.5) {
|
||||
if (fraction > 1.5 && timings.compileE2E > 10 * 1000) {
|
||||
logger.warn(
|
||||
{
|
||||
stats,
|
||||
|
||||
Reference in New Issue
Block a user