This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
"dbPort": "3306",
|
||||
"dbPwd": "root",
|
||||
"dbUser": "root",
|
||||
"redisPort":"6379",
|
||||
"redisHost":"192.168.6.254",
|
||||
"redisPwd":"9rusdfjk482fjdfo2e023",
|
||||
"defFile": [
|
||||
"index.html",
|
||||
"index.htm"
|
||||
|
||||
@@ -10,21 +10,6 @@ import (
|
||||
|
||||
func main() {
|
||||
|
||||
x:=hotime.CacheMemory{}
|
||||
x.Cache("x",123)
|
||||
|
||||
for i:=0;i<10000000 ;i++ {
|
||||
go func() {
|
||||
x.Cache("y",i)
|
||||
fmt.Println(x.Cache("y"))
|
||||
fmt.Println(x.Cache("y",nil))
|
||||
|
||||
}()
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
appIns := hotime.Application{}
|
||||
i := 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user