mirror of https://github.com/waku-org/nwaku.git
chore: v0.25 vendor bump and associated fixes (#2352)
This commit is contained in:
parent
edca1df1a8
commit
761ce7b10a
|
@ -1 +1 @@
|
|||
Subproject commit 41f77d261ead2508acdd3bd3f88a5cbbcefff05f
|
||||
Subproject commit 92acf68b04070dfe8eb65bab71fbf63804979a16
|
|
@ -1 +1 @@
|
|||
Subproject commit 5aaeb67ebedbefaae2f719f245a96c1a80c42f81
|
||||
Subproject commit 11049fb87d076a25e0fa8e2fda95acaf119738da
|
|
@ -1 +1 @@
|
|||
Subproject commit 3f1ce24ee116daedbc9c8be525e63ec03e185a28
|
||||
Subproject commit 9c74b885eaeb6726543e69fde2f7d8837357c1d7
|
|
@ -1 +1 @@
|
|||
Subproject commit 51f1227d0fd04ce84b1ef784b11280cb7875348c
|
||||
Subproject commit f51401566ff7719185f52b5efe61d551e479f676
|
|
@ -1 +1 @@
|
|||
Subproject commit 577c4ec3b235c5fd2653a9c86cbc4a576cfc0869
|
||||
Subproject commit a3f5389e872e45a664aff3dfb80eab8069c688c5
|
|
@ -1 +1 @@
|
|||
Subproject commit 43c546c365af4d291c33b7d94b5b730300165aaf
|
||||
Subproject commit 2bdfec0eb7156d5773bc5d25fca3b3b77d0869f1
|
|
@ -1 +1 @@
|
|||
Subproject commit 6cdd14282b7c813c2ae4b9a9d749c3ff5ce1b54a
|
||||
Subproject commit cf0c9cfa408189c6d428799bf2e9da8d0c0f7f08
|
|
@ -6,12 +6,13 @@ else:
|
|||
import
|
||||
metrics
|
||||
|
||||
proc parseCollectorIntoF64(collector: Collector): float64 {.gcsafe, raises: [Defect] } =
|
||||
proc parseCollectorIntoF64(collector: SimpleCollector): float64 {.gcsafe, raises: [Defect] } =
|
||||
{.gcsafe.}:
|
||||
var total = 0.float64
|
||||
for key in collector.metrics.keys():
|
||||
for metrics in collector.metrics:
|
||||
for metric in metrics:
|
||||
try:
|
||||
total = total + collector.value(key)
|
||||
total = total + metric.value
|
||||
except KeyError:
|
||||
discard
|
||||
return total
|
||||
|
|
|
@ -21,7 +21,6 @@ import
|
|||
libp2p/multiaddress,
|
||||
libp2p/peerid,
|
||||
dnsdisc/client
|
||||
|
||||
import
|
||||
./waku_core
|
||||
|
||||
|
|
Loading…
Reference in New Issue