mirror of
https://github.com/iamxvbaba/gramsrv.git
synced 2026-11-16 11:12:15 +03:00
b551a239f5
Translate all natural-language comments, log/diagnostic messages, SQL comments and config/doc prose from Chinese (and Russian) to English across the codebase (~840 files). Rebased on upstream main; upstream's newly added files are translated too. Locale resources and functional non-English data are left intact: language packs, admin/grammystore i18n bundles, localized docs, the officialBrandRE regex, seeded Russian premium-bot text, user-facing Russian bot strings and asserted Unicode test fixtures. A new internal/translation guard test fails if CJK/Cyrillic reappears in source outside that allowlist. No code, identifiers, struct tags or behavior changed (verified with an AST-level comment/string audit). go build ./..., go vet ./... and the guard pass.
16 lines
702 B
Go
16 lines
702 B
Go
// Package loadtest houses the load-testing baseline for the message module.
|
|
//
|
|
// It holds only env-gated load cases (real PostgreSQL + Redis) and is not imported
|
|
// by production code. Goals and baseline methodology are in the "Load Baseline"
|
|
// section of docs/message-module.md.
|
|
//
|
|
// How to run (PowerShell):
|
|
//
|
|
// $env:TELESRV_TEST_POSTGRES_DSN = "postgres://telesrv:telesrv@localhost:5432/telesrv?sslmode=disable"
|
|
// $env:TELESRV_TEST_REDIS_ADDR = "localhost:6399"
|
|
// go test ./internal/loadtest/ -run TestMessageSendBaseline -v -count=1
|
|
//
|
|
// When the two environment variables above are unset the cases Skip outright, so
|
|
// they have no effect on a default `go test ./...`.
|
|
package loadtest
|