diff options
| author | Patrick Schmidt <patrick.schmidt@innogames.com> | 2023-09-01 19:57:04 +0200 |
|---|---|---|
| committer | Chris Lu <chrislusf@users.noreply.github.com> | 2023-09-05 10:33:27 -0700 |
| commit | 98dcec0ee2023d24913941bfef7ecc5a7d2b78f8 (patch) | |
| tree | 5c56c47e2feef02c4b08844fcc313d64f94486d8 /weed/s3api/auto_signature_v4_test.go | |
| parent | cdd817edf97fca305bb490b139d6a9b185d58f66 (diff) | |
| download | seaweedfs-98dcec0ee2023d24913941bfef7ecc5a7d2b78f8.tar.xz seaweedfs-98dcec0ee2023d24913941bfef7ecc5a7d2b78f8.zip | |
Clean up old signature hash pools
Diffstat (limited to 'weed/s3api/auto_signature_v4_test.go')
| -rw-r--r-- | weed/s3api/auto_signature_v4_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/s3api/auto_signature_v4_test.go b/weed/s3api/auto_signature_v4_test.go index 15ca90b93..8d0b677f8 100644 --- a/weed/s3api/auto_signature_v4_test.go +++ b/weed/s3api/auto_signature_v4_test.go @@ -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() |
