From 061092873606831c655bf81e19b8a7c056caabbf Mon Sep 17 00:00:00 2001 From: kercylan98 Date: Fri, 7 Jul 2023 16:54:45 +0800 Subject: [PATCH] =?UTF-8?q?recessive:=20=E6=97=A5=E5=BF=97=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/options.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/options.go b/server/options.go index ed31f7f..81cf54f 100644 --- a/server/options.go +++ b/server/options.go @@ -73,7 +73,6 @@ func WithWebsocketReadDeadline(t time.Duration) Option { // WithTicker 通过定时器创建服务器,为服务器添加定时器功能 // - autonomy:定时器是否独立运行(独立运行的情况下不会作为服务器消息运行,会导致并发问题) -// - 多核与分流情况下需要考虑是否有必要 autonomy func WithTicker(size int, autonomy bool) Option { return func(srv *Server) { if !autonomy {