mirror of
https://github.com/GMWalletApp/epusdt.git
synced 2026-07-07 18:26:16 +00:00
feat: add in-memory RPC runtime stats SSE endpoint
This commit is contained in:
@@ -77,6 +77,7 @@ func setupTestEnv(t *testing.T) *echo.Echo {
|
||||
|
||||
// reset the settings cache so stale entries from a prior test don't leak
|
||||
_ = data.ReloadSettings()
|
||||
data.ResetRpcRuntimeStatsForTest()
|
||||
config.SettingsGetString = func(key string) string {
|
||||
return data.GetSettingString(key, "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user