Open qysnowqy opened 9 years ago
通过现在的信息很难去判断到底问题出在哪儿 建议你在sendNotification之前打一条log,然后再跟ApnsConnectionImpl中输出的log一一比对下,看是否能对应的上。
如果用log4j的话,可以这么配下
感谢您的答复。请问您的每天百万推送一般设置线程池大小为多少?
为了避免单点,我在两台机器上搭了APNS的推送服务,poolSize设的是12,每台机器每天各自发送100多万条通知,CPU和内存消耗都特别低。
再次感谢。那个log不输出的问题我定位了。 dev-3 Received error response. status: 8, id: 180, error-desc: Invalid token 有这个info输出的时候,下次推送就不会出现info日志了。 请问这个token是失效的吗?如果是失效的,feedbackservice没有返回。 这个应该是错误token吧?