Commit d4d3da3e authored by Wandenberg Peixoto's avatar Wandenberg Peixoto

use epoll or kqueue depending on which plataform is in use

parent a1ea952b
......@@ -151,7 +151,7 @@ worker_processes <%=nginx_workers%>;
events {
worker_connections 1024;
use epoll;
use <%= (RUBY_PLATFORM =~ /darwin/) ? 'kqueue' : 'epoll' %>;
}
http {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment