chore: measure license check time at startup

This commit is contained in:
Florent Baldino 2024-10-17 09:47:58 +02:00
parent a000405330
commit 58c6b63591

View File

@ -460,7 +460,9 @@ class Strapi extends Container implements Core.Strapi {
}
if (this.EE) {
const start = Date.now();
await utils.ee.checkLicense({ strapi: this });
this.log.debug(`License check finished (${Date.now() - start}ms)`);
}
await this.server.initMiddlewares();