]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup: instead of setting --reactor=poll for trial in all cases (which fails on platf...
authorZooko O'Whielacronx <zooko@zooko.com>
Wed, 30 Jul 2008 03:16:56 +0000 (20:16 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Wed, 30 Jul 2008 03:16:56 +0000 (20:16 -0700)
Makefile

index 0b3906a129ce1a836c532296eed149ce2cea39e8..6f07e027ff567b0b0ef1df7508ee1f2d66469b37 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,13 @@ ifeq ($(PLAT),win32)
        SRCPATH := $(shell cygpath -w $(shell pwd)/src)
        INNOSETUP := $(shell cygpath -au "$(PROGRAMFILES)/Inno Setup 5/Compil32.exe")
 else
+       ifeq ($(PLAT),linux2)
+               # This is to work-around #402, and anyway the poll reactor is probably better on Linux, if
+               # we have a lot of open fds.
+               ifneq ($(REACTOR),)
+                       REACTOR := poll
+               endif
+       endif
        PYVER=$(shell $(PYTHON) misc/pyver.py)
        SUPPORT = $(shell pwd)/support
        SUPPORTLIB = $(SUPPORT)/lib/$(PYVER)/site-packages