Use EVBACKEND_POLL on Solaris; select() is just a wrapper anyway

This commit is contained in:
Ryan Dahl committed 2010-06-28 15:37:29 -07:00
1 parent 242161bef2
commit e2db605308
1 file changed
+1 -1
+1 -1
View File
@@ -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