From: Zooko O'Whielacronx Date: Wed, 30 Jul 2008 18:12:17 +0000 (-0700) Subject: setup: turn back on reactor=poll for cygwin trial (else it runs out of fds) X-Git-Url: https://git.rkrishnan.org/pf/content/en/footer/about.html?a=commitdiff_plain;h=8aab91115aa65e684616b5953553e48877d63044;p=tahoe-lafs%2Ftahoe-lafs.git setup: turn back on reactor=poll for cygwin trial (else it runs out of fds) --- diff --git a/Makefile b/Makefile index 682db2ff..328844c6 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,13 @@ else REACTOR := poll endif endif + ifeq ($(PLAT),cygwin) + # The cygwin select reactor seems to run out of fds in unit tests -- it writes "filedescriptor + # out of range in select()". Setting reactor=poll fixes that. + ifeq ($(REACTOR),) + REACTOR := poll + endif + endif PYVER=$(shell $(PYTHON) misc/pyver.py) SUPPORT = $(shell pwd)/support SUPPORTLIB = $(SUPPORT)/lib/$(PYVER)/site-packages