Skip to content
This repository was archived by the owner on Dec 10, 2018. It is now read-only.

Allow better concurrency using ThreadingMixIn #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sleepymongoose/httpd.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from SocketServer import BaseServer
from SocketServer import BaseServer, ThreadingMixIn
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
from handlers import MongoHandler

Expand Down Expand Up @@ -40,7 +40,7 @@



class MongoServer(HTTPServer):
class MongoServer(ThreadingMixIn, HTTPServer):

pem = None

Expand Down