摘要:
package main import ( "context" "fmt" "log" "math/rand" "net/http" "sync" "time" goredis "github.com/garyburd/redigo/redis" redis "github.com/go-redis 阅读全文
摘要:
首先查看连接服务器的数据库的最大连接数配置 mysql -uroot -p #输入mysql root 用户密码 show variables like '%max_connections%'; #查看mysql 最大连接数 (我3.10 机器默认配置是151 这里我把它改成256) set GLO 阅读全文