Typo from earlier commit (capnproto-0.8.0 update)
This commit is contained in:
@@ -28,7 +28,7 @@ class StatusSubscriber(thread_capnp.Example.StatusSubscriber.Server):
|
|||||||
|
|
||||||
|
|
||||||
def start_status_thread(host):
|
def start_status_thread(host):
|
||||||
client = capnp.TwoPartyClient(host, nesting_limit=64)
|
client = capnp.TwoPartyClient(host)
|
||||||
cap = client.bootstrap().cast_as(thread_capnp.Example)
|
cap = client.bootstrap().cast_as(thread_capnp.Example)
|
||||||
|
|
||||||
subscriber = StatusSubscriber()
|
subscriber = StatusSubscriber()
|
||||||
@@ -37,7 +37,7 @@ def start_status_thread(host):
|
|||||||
|
|
||||||
|
|
||||||
def main(host):
|
def main(host):
|
||||||
client = capnp.TwoPartyClient(host, nesting_limit=64)
|
client = capnp.TwoPartyClient(host)
|
||||||
cap = client.bootstrap().cast_as(thread_capnp.Example)
|
cap = client.bootstrap().cast_as(thread_capnp.Example)
|
||||||
|
|
||||||
status_thread = threading.Thread(target=start_status_thread, args=(host,))
|
status_thread = threading.Thread(target=start_status_thread, args=(host,))
|
||||||
|
|||||||
Reference in New Issue
Block a user