ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### **Server->set** ***** <br> #### **原型:** ``` function Server->set(array $setting); ``` <br> #### **示例:** ``` $serv->set(array( 'reactor_num' => 2, //reactor thread num 'worker_num' => 4, //worker process num 'backlog' => 128, //listen backlog 'max_request' => 50, 'dispatch_mode' => 1, )); ``` > `Server->set`必须在`Server->start`前调用 详细配置项请看后面章节【配置选项】