Skip to content

Commit

Permalink
Add 'realtime: false' to the mget requests
Browse files Browse the repository at this point in the history
  • Loading branch information
rockdaboot committed Jun 8, 2022
1 parent 333a1b1 commit 413d4a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/profiling/server/routes/flamechart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ async function queryFlameGraph(
return client.mget({
index: 'profiling-stacktraces',
ids,
realtime: false,
_source_includes: ['FrameID', 'Type'],
});
}
Expand Down Expand Up @@ -336,6 +337,7 @@ async function queryFlameGraph(
return await client.mget({
index: 'profiling-stackframes',
ids: [...stackFrameDocIDs],
realtime: false,
});
}
);
Expand Down

0 comments on commit 413d4a6

Please sign in to comment.