forked from tabo/cherrypy-dynpool
-
Notifications
You must be signed in to change notification settings - Fork 0
License
anderstheet/cherrypy-dynpool
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
cherrypy-dynpool ================ A dynamic threadpool tool for CherryPy 3.x (A backport from CherryPy 4) Usage:: from cherrypy_dynpool import ThreadPoolMonitor ... cherrypy.engine.threadpool_monitor = ThreadPoolMonitor(cherrypy.engine) cherrypy.engine.threadpool_monitor.subscribe() cherrypy.config.update({ 'server.thread_pool': 5, 'server.thread_pool_max': -1, 'server.thread_pool_minspare': 5, 'server.thread_pool_maxspare': 15, 'server.thread_pool_frequency': 2, 'server.thread_pool_shrink_frequency': 5, }) ... cherrypy.engine.start() cherrypy.engine.threadpool_monitor.configure( thread_pool=cherrypy.server.httpserver.requests, logger=cherrypy.log )
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Python 100.0%