Dht maintenance (#267)
* protocol start is now async * bumping to maintenance branch
This commit is contained in:
parent
f190bfb96e
commit
8d315b38b8
|
@ -143,7 +143,7 @@ proc start*(d: Discovery) {.async.} =
|
||||||
.expect("updating SPR")
|
.expect("updating SPR")
|
||||||
|
|
||||||
d.protocol.open()
|
d.protocol.open()
|
||||||
d.protocol.start()
|
await d.protocol.start()
|
||||||
|
|
||||||
proc stop*(d: Discovery) {.async.} =
|
proc stop*(d: Discovery) {.async.} =
|
||||||
await d.protocol.closeWait()
|
await d.protocol.closeWait()
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit a2c667ea898910c15df8d0b8dc112777b07761b7
|
Subproject commit 6c06a3b095d1935aaf5eec66295862c9c3b4bac5
|
|
@ -1 +1 @@
|
||||||
Subproject commit 69ae7c2012d5ae89eab5ed3d7813daedba4018d9
|
Subproject commit 4b9fa0356e6cefbbbcedcf21a914cda575229774
|
Loading…
Reference in New Issue