mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-29 14:06:36 +08:00
9550fa6ff3
Replace per-request GetByKey calls with a singleflight-backed RuntimeSettings snapshot loaded via ListSystemConfigsByKeys. Invalidate snapshot on admin cap_* writes and via Redis pub/sub. Simplify VerifyMiddleware and update PERFORMANCE.md status.
10 lines
211 B
Go
10 lines
211 B
Go
// Copyright 2026 Arctel.net
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package cap
|
|
|
|
import "github.com/Rain-kl/Wavelet/internal/testhelper"
|
|
|
|
func init() {
|
|
testhelper.RegisterCleanup(ResetRuntimeSettingsForTest)
|
|
} |