RPC server doc: use the blocking executor
The eventlet executor need additional code to make the RPC server sample work. Using the blocking executor makes things easier to setup for a newcomer. Change-Id: I56dfa54a178962d4ced34e2f15eaf9312b7087cc
This commit is contained in:
parent
e0730983ee
commit
221144600a
|
@ -68,7 +68,7 @@ A simple example of an RPC server with multiple endpoints might be::
|
||||||
TestEndpoint(),
|
TestEndpoint(),
|
||||||
]
|
]
|
||||||
server = messaging.get_rpc_server(transport, target, endpoints,
|
server = messaging.get_rpc_server(transport, target, endpoints,
|
||||||
executor='eventlet')
|
executor='blocking')
|
||||||
server.start()
|
server.start()
|
||||||
server.wait()
|
server.wait()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue