-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
coreissues related to the core of the applicationissues related to the core of the applicationproposalfeature proposals (potential future features)feature proposals (potential future features)
Milestone
Description
Feature Description:
Whenever I start Theia from the sources (electron, browser) or TheiaBluePrint (1.31.1 (1.31.1.85)), getting the default preference schema fails. The fetched JSON size has increased during the years, and getting the schema never completes in 500ms.
From the sources:
logger-protocol.ts:113 2022-11-18T13:42:37.774Z root ERROR DefaultJsonSchemaContribution.registerSchemas is taking more than 500.0 ms, new schemas are ignored.
From the bundled electron app:
logger-protocol.ts:113 2022-11-18T13:48:50.330Z root ERROR h.registerSchemas is taking more than 500.0 ms, new schemas are ignored.
Either increase the timeout or get the schema at build time. The current implementation makes no sense. Note that getting the schema at build time has one drawback, the most recent schema won't be fetched on app load, so it could be outdated. In one of the downstream projects, we get the schema at build time, which works well.
Metadata
Metadata
Assignees
Labels
coreissues related to the core of the applicationissues related to the core of the applicationproposalfeature proposals (potential future features)feature proposals (potential future features)