recessive: 日志优化

This commit is contained in:
kercylan98 2023-07-07 16:54:45 +08:00
parent e0a0aaa605
commit 0610928736
1 changed files with 0 additions and 1 deletions

View File

@ -73,7 +73,6 @@ func WithWebsocketReadDeadline(t time.Duration) Option {
// WithTicker 通过定时器创建服务器,为服务器添加定时器功能 // WithTicker 通过定时器创建服务器,为服务器添加定时器功能
// - autonomy定时器是否独立运行独立运行的情况下不会作为服务器消息运行会导致并发问题 // - autonomy定时器是否独立运行独立运行的情况下不会作为服务器消息运行会导致并发问题
// - 多核与分流情况下需要考虑是否有必要 autonomy
func WithTicker(size int, autonomy bool) Option { func WithTicker(size int, autonomy bool) Option {
return func(srv *Server) { return func(srv *Server) {
if !autonomy { if !autonomy {