Clean up old signature hash pools

This commit is contained in:
Patrick Schmidt
2023-09-01 19:57:04 +02:00
committed by Chris Lu
parent cdd817edf9
commit 98dcec0ee2
3 changed files with 55 additions and 20 deletions

View File

@@ -127,7 +127,8 @@ func TestCheckAdminRequestAuthType(t *testing.T) {
func BenchmarkGetSignature(b *testing.B) {
t := time.Now()
iam := IdentityAccessManagement{
hashes: make(map[string]*sync.Pool),
hashes: make(map[string]*sync.Pool),
hashCounters: make(map[string]*int32),
}
b.ReportAllocs()