From 333a1b1d2c888fac6e4a73a9a16391d2dbc2baeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Tue, 5 Apr 2022 19:14:13 +0200 Subject: [PATCH] Disable parallel mget queries for fetching stacktraces --- src/plugins/profiling/server/routes/flamechart.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/profiling/server/routes/flamechart.ts b/src/plugins/profiling/server/routes/flamechart.ts index 89d5490a6ce0b..04c19e580303b 100644 --- a/src/plugins/profiling/server/routes/flamechart.ts +++ b/src/plugins/profiling/server/routes/flamechart.ts @@ -200,7 +200,7 @@ async function queryFlameGraph( } // profiling-stacktraces is configured with 16 shards - const nQueries = 8; + const nQueries = 1; const stackTraces = new Map(); const stackFrameDocIDs = new Set(); // Set of unique FrameIDs const executableDocIDs = new Set(); // Set of unique executable FileIDs.