1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-25 19:30:54 +00:00

only use forking on posix

This commit is contained in:
Unrud 2018-09-05 11:30:25 +02:00 committed by Unrud
parent bfa711b939
commit 901c5d059f

View file

@ -37,7 +37,7 @@ from urllib.parse import unquote
from radicale import Application
from radicale.log import logger
if hasattr(socketserver, "ForkingMixIn"):
if os.name == "posix":
ParallelizationMixIn = socketserver.ForkingMixIn
else:
ParallelizationMixIn = socketserver.ThreadingMixIn