瀏覽代碼

时间间隔修改

WH01243 1 周之前
父節點
當前提交
8e8418f120
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rpc/main.go

+ 1 - 1
rpc/main.go

@@ -128,7 +128,7 @@ func (s *server) setupTimedTasks(ctx context.Context) {
 	}{
 		{1 * time.Minute, "sendTalk"},
 		{1 * time.Hour, "getContacts"},
-		{30 * time.Second, "heartbeat"},
+		{1 * time.Minute, "heartbeat"},
 	}
 
 	for _, task := range tasks {