bottlepy / bottle

bottle.py is a fast and simple micro-framework for python web-applications.
http://bottlepy.org/
MIT License
8.4k stars 1.46k forks source link

Multi-threaded wsgiref #1256

Closed Ksengine closed 3 years ago

Ksengine commented 3 years ago

wsgiref server in bottle is still single threaded !!!

I can make it multi-threaded by adding 2 lines(wrapped) to bottle. or 4 lines if prettily formatted .

I can add multiprocessing wsgiref option. but its working finely on Unix like(linux, ubuntu...) systems only. routes handlers other can't get or set global variables on other OSs. It works finely on any os. If there is unique script file for each route.

Can I make a Pull?

Ksengine commented 3 years ago

Why closed?

Ksengine commented 3 years ago

You rejected my idea

Ksengine commented 3 years ago

Who added this emotes 😞