mirror of
https://github.com/modrinth/code.git
synced 2026-08-26 17:44:50 +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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user