InitLocalizer filled the shared bundle in place, and the Telegram bot runs it again while the panel is serving, so a request could read the bundle's maps while they were being written and the process died on a concurrent map access. Build the bundle privately and publish it, and the bot and web localizers, through atomic pointers; the lazy load in the middleware publishes only if nothing else did first. |
||
|---|---|---|
| .. | ||
| controller | ||
| entity | ||
| global | ||
| job | ||
| locale | ||
| middleware | ||
| network | ||
| runtime | ||
| service | ||
| session | ||
| translation | ||
| websocket | ||
| cadence_test.go | ||
| node_contract_test.go | ||
| routes_contract_test.go | ||
| schedule_test.go | ||
| web.go | ||
| web_mtls.go | ||
| web_mtls_test.go | ||
| web_shutdown_test.go | ||
| web_sublink_test.go | ||
| web_tuic_shutdown_test.go | ||