Skip to content

Commit babf546

Browse files
committed
fix labeling on pref
1 parent ea1cdeb commit babf546

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Elder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,15 +262,15 @@ class Elder {
262262
const route = this.routes[routeName];
263263
let allRequestsForRoute = [];
264264
if (typeof route.all === 'function') {
265-
this.perf.start(`startup.routes.${routeName}`);
265+
this.perf.start(`startup.routes.${routeName}.all`);
266266
allRequestsForRoute = await route.all({
267267
settings: createReadOnlyProxy(this.settings, 'settings', `${routeName} all function`),
268268
query: createReadOnlyProxy(this.query, 'query', `${routeName} all function`),
269269
helpers: createReadOnlyProxy(this.helpers, 'helpers', `${routeName} all function`),
270270
data: createReadOnlyProxy(this.data, 'data', `${routeName} all function`),
271271
perf: this.perf.prefix(`startup.routes.${routeName}.all`),
272272
});
273-
this.perf.end(`startup.routes.${routeName}`);
273+
this.perf.end(`startup.routes.${routeName}.all`);
274274
} else if (Array.isArray(route.all)) {
275275
allRequestsForRoute = route.all;
276276
}

0 commit comments

Comments
 (0)