Commit 4d738fcc authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Fixed #21546 -- Strengthened kqueue detection.

Thanks Loic Bistuer.
parent 12615dab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ try:
    import subprocess
    command = ["sysctl", "-n", "kern.maxfilesperproc"]
    NOFILES_KERN = int(subprocess.check_output(command).strip())
except (AttributeError, OSError):
except Exception:
    USE_KQUEUE = False

RUN_RELOADER = True