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

Let Nginx choose effective polling method #208

Closed mikhailov closed 8 years ago

mikhailov commented 8 years ago

There is no point to downgrade to poll is O(n). Polling method epoll O(1) is selected automatically for Linux or kqueue for BSD

wandenberg commented 8 years ago

Hi @mikhailov the file on misc/nginx.conf isn't a configuration to be used on production environment. It is intended to be used during the module development this is why it has a lot of debug configuration. It can be used as example and reference. But I don't want to remove something that helps me on development unnecessarily.

You are absolutely right, do not use pool on production.