Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

小更新和修复 #9

Merged
merged 3 commits into from
Sep 11, 2015
Merged

小更新和修复 #9

merged 3 commits into from
Sep 11, 2015

Conversation

zheplusplus
Copy link
Contributor

  • 增加 CPU 统计
  • 补上了 SRANDMEMBER 指令
  • 修复一个问题, 当两个客户端分别请求一个指令到同一个 Server 上时, 如果其中一个指令转发完成并收到结果, 而另一个请求仍在等待队列中时, 该 Server 对象不会正确的设置 epoll 标志位为 "可写出", 因此导致在等待队列中的指令一直等待 (除非另一个指令恰好用到了此 Server 对象, 这时它又被激活, 然后所有等待的指令会一起发出, 故这个问题发生率非常低); 单元测试已补充 EventLoopProxyDateTest, ClientsGather

zheplusplus added a commit that referenced this pull request Sep 11, 2015
@zheplusplus zheplusplus merged commit 50f7dff into projecteru:master Sep 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant