mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
Let Python server take protocolFactory argument
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664853 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1dd819cd2b
commit
bb31d0ac43
@ -85,8 +85,8 @@ class TThreadPoolServer(TServer):
|
||||
|
||||
"""Server with a fixed size pool of threads which service requests."""
|
||||
|
||||
def __init__(self, processor, serverTransport, transportFactory=None):
|
||||
TServer.__init__(self, processor, serverTransport, transportFactory)
|
||||
def __init__(self, processor, serverTransport, transportFactory=None, protocolFactory=None):
|
||||
TServer.__init__(self, processor, serverTransport, transportFactory, protocolFactory)
|
||||
self.clients = Queue.Queue()
|
||||
self.threads = 10
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user