yey

Results 3 comments of yey

默认是开启了Agent,设置了最大sockets连接数 ```javascript exports.httpsAgent = new https.Agent(); exports.httpsAgent.maxSockets = 1000; ``` 但是在Agent的默认配置里: ![image](https://cloud.githubusercontent.com/assets/6905558/24939493/4e0d2bba-1f70-11e7-8cb8-a93ab5e044e7.png) 所以实际是没有开启keepAlive的吗?我理解的是否有问题? 实际运行的时候,可以看到错误日志里显示的keepAliveSocket也是false, 说明在req.once('socket')的时候也是没有reuse的,具体可以参见这个[issue](https://github.com/node-webot/wechat-api/issues/194)

this works well ```javascript const http = require('http') const https = require('http') const WechatAPI = require('wechat-api') let api = new WechatAPI(WECHAT.appId, WECHAT.appsecret) let maxSockets = 100 api.setOpts({ timeout: 150000, httpAgent:...

Do you mean DatePicker component? Any more infomation?