kiwix-serve CPU usage improvement (ID: 3213104)

This commit is contained in:
kelson42 2011-04-07 11:45:08 +00:00
parent e7b8d9cd19
commit 2bd500bf18

View File

@ -452,7 +452,7 @@ int main(int argc, char **argv) {
pthread_mutex_init(&compressorLock, NULL);
/* Start the HTTP daemon */
daemon = MHD_start_daemon(MHD_USE_THREAD_PER_CONNECTION,
daemon = MHD_start_daemon(MHD_USE_SELECT_INTERNALLY,
serverPort,
NULL,
NULL,