Connection Pool?

Benjamin Schollnick <[email protected]> Tue, 11 Jun 2013 18:51:36 -0400
Newsgroups gmane.comp.python.twisted.web
Message-ID <[email protected]>
Folks,

I am a little confused, and I haven't been able to find anything in the Twisted docs regarding this?

pool = threadpool.ThreadPool ()
root = Resource ()
root.putChild ("resources", File( server_root + os.sep + "resources") )
root.putChild ("thumbnails", File( server_root + os.sep + "thumbnails") )
root.putChild ("templates", File( server_root + os.sep + "templates") )
root.putChild ("albums", Gallery() )
factory = Site ( root )
print "Listening on Port 8888..."
reactor.listenTCP ( 8888, factory)
reactor.run()

I can't find how to add a ThreadPool to a standard reactor?
And how can I check or set Keep alive for the TCP connections?

Can anyone point me in the right direction?

	- Benjamin

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web