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:
Michael H.
2026-08-05 19:59:15 +02:00
committed by GitHub
parent 0038ea8b15
commit a89711841d
13 changed files with 1014 additions and 433 deletions
@@ -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,
}
}