mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #1082 from benoitc/travis-container-based
Use the travis container-based infrastructure
This commit is contained in:
commit
97428ed083
@ -1,3 +1,4 @@
|
|||||||
|
sudo: false
|
||||||
language: python
|
language: python
|
||||||
env:
|
env:
|
||||||
- TOXENV=py26
|
- TOXENV=py26
|
||||||
|
|||||||
@ -381,7 +381,7 @@ class ScalableSelectorMixIn:
|
|||||||
for i in range(NUM_FDS // 2):
|
for i in range(NUM_FDS // 2):
|
||||||
try:
|
try:
|
||||||
rd, wr = self.make_socketpair()
|
rd, wr = self.make_socketpair()
|
||||||
except OSError:
|
except (IOError, OSError):
|
||||||
# too many FDs, skip - note that we should only catch EMFILE
|
# too many FDs, skip - note that we should only catch EMFILE
|
||||||
# here, but apparently *BSD and Solaris can fail upon connect()
|
# here, but apparently *BSD and Solaris can fail upon connect()
|
||||||
# or bind() with EADDRNOTAVAIL, so let's be safe
|
# or bind() with EADDRNOTAVAIL, so let's be safe
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user