mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 05:22:51 +00:00
[misc] ContentCacheMetrics: apply review feedback: ignore fast compiles
Co-Authored-By: Brian Gough <brian.gough@overleaf.com>
This commit is contained in:
parent
a4389fb761
commit
11a44ff07c
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue