mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-08 16:56:14 +08:00
Clean up old signature hash pools
This commit is contained in:
committed by
Chris Lu
parent
cdd817edf9
commit
98dcec0ee2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user