mirror of
https://github.com/lkmio/lkm.git
synced 2025-10-05 07:06:57 +08:00
重构缓存策略
This commit is contained in:
@@ -21,7 +21,8 @@ func init() {
|
||||
}
|
||||
|
||||
func TestServer(t *testing.T) {
|
||||
stream.AppConfig.GOPCache = 2
|
||||
stream.AppConfig.GOPCache = true
|
||||
stream.AppConfig.MergeWriteLatency = 350
|
||||
impl := serverImpl{}
|
||||
addr := "0.0.0.0:1935"
|
||||
tcpAddr, err := net.ResolveTCPAddr("tcp", addr)
|
||||
|
Reference in New Issue
Block a user