wandenberg / nginx-push-stream-module

A pure stream http push technology for your Nginx setup. Comet made easy and really scalable.
Other
2.22k stars 295 forks source link

nginx events method poll to epoll? #271

Closed lixuande closed 5 years ago

lixuande commented 6 years ago

I try to use nginx-push-stream-module following the Installation,and test the ../misc/nginx.conf failed, so i cat the nginx.conf find that the nginx events method is poll, I remember nginx used is epoll.The nginx is start ok when i change the poll to epoll.

wandenberg commented 6 years ago

Hi @lixuande, the ../misc/nginx.conf is to be used only during the development/tests and maybe as an example. In normal condition, you should use epoll or kqueue depending on the OS. I use poll because is easier to simulate some scenarios.