added TODO
authorTony Mack <tmack@cs.princeton.edu>
Sun, 21 Feb 2010 16:20:31 +0000 (16:20 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Sun, 21 Feb 2010 16:20:31 +0000 (16:20 +0000)
sfa/util/server.py

index f1126b1..e6ec061 100644 (file)
@@ -184,6 +184,9 @@ class ThreadPoolMixIn(SocketServer.ThreadingMixIn):
     """
     use a thread pool instead of a new thread on every request
     """
+    # XX TODO: Make this configurable
+    # config = Config()
+    # numThreads = config.SFA_SERVER_NUM_THREADS
     numThreads = 25
     allow_reuse_address = True  # seems to fix socket.error on server restart