perf(server): 调整服务器心跳间隔并优化服务器信息列表
- 将服务器心跳间隔从 3 秒调整为 10 秒 - 在 CommendSvrInfo 中使用 array 包对服务器信息列表进行排序 - 更新 go.mod 和 go.sum 文件,添加新的依赖项
This commit is contained in:
@@ -6,6 +6,7 @@ require github.com/lunixbochs/struc v0.0.0-20241101090106-8d528fa2c543
|
||||
|
||||
require (
|
||||
github.com/BurntSushi/toml v1.4.0 // indirect
|
||||
github.com/butoften/array v1.0.9 // indirect
|
||||
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
||||
github.com/clbanning/mxj/v2 v2.7.0 // indirect
|
||||
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
||||
@@ -17,11 +18,13 @@ require (
|
||||
github.com/mattn/go-colorable v0.1.13 // indirect
|
||||
github.com/mattn/go-isatty v0.0.20 // indirect
|
||||
github.com/panjf2000/ants/v2 v2.11.3 // indirect
|
||||
github.com/samber/lo v1.51.0 // indirect
|
||||
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
||||
go.uber.org/multierr v1.11.0 // indirect
|
||||
go.uber.org/zap v1.27.0 // indirect
|
||||
golang.org/x/sync v0.11.0 // indirect
|
||||
golang.org/x/sys v0.30.0 // indirect
|
||||
golang.org/x/text v0.22.0 // indirect
|
||||
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user