mirror of
https://github.com/modrinth/code.git
synced 2026-08-28 18:45:15 +00:00
chore: reduce frontend server memory & tracing (#7014)
* chore: reduce memory usage * feat: worker tracing * fix: eslint * fix: remove compat flag * fix: prettier
This commit is contained in:
@@ -154,11 +154,13 @@ export class LabrinthStateModule extends AbstractModule {
|
||||
homePageSearch,
|
||||
homePageNotifs,
|
||||
products,
|
||||
muralBankDetails: muralBankDetails?.bankDetails,
|
||||
// Always emit a value: `undefined` is dropped by JSON.stringify, and consumers
|
||||
// import these keys by name from the generated state.
|
||||
muralBankDetails: muralBankDetails?.bankDetails ?? {},
|
||||
tremendousIdMap,
|
||||
countries: iso3166Data.countries,
|
||||
subdivisions: iso3166Data.subdivisions,
|
||||
taxComplianceThresholds: globals?.tax_compliance_thresholds,
|
||||
taxComplianceThresholds: globals?.tax_compliance_thresholds ?? {},
|
||||
errors,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "storybook",
|
||||
"compatibility_date": "2026-02-12",
|
||||
"compatibility_date": "2026-08-05",
|
||||
"workers_dev": true,
|
||||
"assets": {
|
||||
"directory": "./storybook-static"
|
||||
|
||||
Reference in New Issue
Block a user