mirror of
https://github.com/strapi/strapi.git
synced 2025-06-27 00:41:25 +00:00
chore: measure license check time at startup
This commit is contained in:
parent
a000405330
commit
58c6b63591
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user