mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
make sure media server can handle a flood of requests
fixes intermittent failures when loading js/css files, especially during startup
This commit is contained in:
parent
f58ea62aec
commit
7b93d8423f
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ _exportFolder = _getExportFolder()
|
|||
# webengine on windows sometimes opens a connection and fails to send a request,
|
||||
# which will hang the server if unthreaded
|
||||
class ThreadedHTTPServer(socketserver.ThreadingMixIn, http.server.HTTPServer):
|
||||
pass
|
||||
request_queue_size = 100
|
||||
|
||||
class MediaServer(threading.Thread):
|
||||
|
||||
|
|
Loading…
Reference in a new issue