masking: comments no longer quote Routing's "masking…" (#4053)
i18n-keys' "a plugin's words are its own" was red on main: masking.go's and masking_test.go's comments quoted the Requests page's word "masking…", which plugins/routing/i18n.js owns, so the test took it for a shared word. Both comments now say it unquoted, without the ellipsis. Run (on mote): node --test i18n-keys.test.cjs: 4/4 (3/4 before, red with masking.go's then masking_test.go's line); gofmt -l internal/masking: none. Comments only.
This commit is contained in:
@@ -145,7 +145,7 @@ func toGuard() {
|
||||
// Past it the rules mask alone. AstrLink Guard reads on the CPU, a long
|
||||
// history it hasn't seen takes minutes there, and one request at a time
|
||||
// is read: unbounded, every request queued behind the first (shensmart
|
||||
// on Discord, 10-28: Codex's requests sat "masking…" once the default's
|
||||
// on Discord, 10-28: Codex's requests sat masking once the default's
|
||||
// download finished). What the model read meanwhile is kept, so the next
|
||||
// request finds it. A var for tests.
|
||||
var defaultWait = 2 * time.Second
|
||||
|
||||
@@ -167,7 +167,7 @@ func (h hangs) Find(context.Context, []string) ([][]redact.Found, error) {
|
||||
}
|
||||
|
||||
// shensmart on Discord (10-28): with the model on by default, a request
|
||||
// waited for it as long as its client did, "masking…" on the Requests
|
||||
// waited for it as long as its client did, masking on the Requests
|
||||
// page, every one after it queued behind. On by default, it is waited for
|
||||
// defaultWait at most and the rules mask alone; turned on by the user, it
|
||||
// is waited for longer (strictWait).
|
||||
|
||||
Reference in New Issue
Block a user