From e2db605308b4137930f658fbbe00312e1c5f8212 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 28 Jun 2010 15:37:29 -0700 Subject: [PATCH] Use EVBACKEND_POLL on Solaris; select() is just a wrapper anyway --- src/node.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.cc b/src/node.cc index ea7de5fcd8..a68776228b 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1919,7 +1919,7 @@ int main(int argc, char *argv[]) { #ifdef __sun // TODO(Ryan) I'm experiencing abnormally high load using Solaris's // EVBACKEND_PORT. Temporarally forcing select() until I debug. - ev_default_loop(EVBACKEND_SELECT); + ev_default_loop(EVBACKEND_POLL); #else ev_default_loop(EVFLAG_AUTO); #endif