mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-28 19:40:54 +00:00
only use forking on posix
This commit is contained in:
parent
bfa711b939
commit
901c5d059f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue