mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 01:31:17 +00:00
Memoise & cache the result of renderers, so we don't recalculate views multiple times.
This commit is contained in:
@@ -121,6 +121,7 @@ var (
|
||||
ServerHostLoad15Metric = report.MakeMetric().Add(Now, 0.16).WithFirst(Now.Add(-16 * time.Second))
|
||||
|
||||
Report = report.Report{
|
||||
ID: "test-report",
|
||||
Endpoint: report.Topology{
|
||||
Nodes: report.Nodes{
|
||||
// Node is arbitrary. We're free to put only precisely what we
|
||||
|
||||
Reference in New Issue
Block a user