Skip to content
This repository
Browse code

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

  • Loading branch information...
commit e2db605308b4137930f658fbbe00312e1c5f8212 1 parent 242161b
ry ry authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  src/node.cc
2  src/node.cc
@@ -1919,7 +1919,7 @@ int main(int argc, char *argv[]) {
1919 1919 #ifdef __sun
1920 1920 // TODO(Ryan) I'm experiencing abnormally high load using Solaris's
1921 1921 // EVBACKEND_PORT. Temporarally forcing select() until I debug.
1922   - ev_default_loop(EVBACKEND_SELECT);
  1922 + ev_default_loop(EVBACKEND_POLL);
1923 1923 #else
1924 1924 ev_default_loop(EVFLAG_AUTO);
1925 1925 #endif

0 comments on commit e2db605

Please sign in to comment.
Something went wrong with that request. Please try again.