mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 07:43:29 +03:00
Fix another deadlock inside CreateObjectPart() code, premature return without Unlocking()
Also this patch changes the cache key element to be interface{} type not string.
This commit is contained in:
@@ -23,7 +23,6 @@ import (
|
||||
"encoding/hex"
|
||||
"io/ioutil"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
. "github.com/minio/check"
|
||||
)
|
||||
@@ -41,7 +40,6 @@ func (s *MyCacheSuite) SetUpSuite(c *C) {
|
||||
conf := new(Config)
|
||||
conf.DonutName = ""
|
||||
conf.NodeDiskMap = nil
|
||||
conf.Expiration = time.Duration(1 * time.Hour)
|
||||
conf.MaxSize = 100000
|
||||
|
||||
var err error
|
||||
|
||||
Reference in New Issue
Block a user