CloudWatch: Fix high CPU load (#20579)
* Cache decrypted securejsondata
* Models: Add datasource cache tests
(cherry picked from commit 3fc5f4552a)
This commit is contained in:
@@ -463,6 +463,7 @@ func TestDSRouteRule(t *testing.T) {
|
||||
createAuthTest(m.DS_ES, AUTHTYPE_BASIC, AUTHCHECK_HEADER, true),
|
||||
}
|
||||
for _, test := range tests {
|
||||
m.ClearDSDecryptionCache()
|
||||
runDatasourceAuthTest(test)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user