mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-04-04 15:35:18 +00:00
Compare commits
3 Commits
ee565de393
...
3f4ac86844
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3f4ac86844 | ||
![]() |
8f17a7ad72 | ||
![]() |
8d1c5b6f3c |
3
Cargo.lock
generated
3
Cargo.lock
generated
@ -4715,9 +4715,10 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "metrics"
|
name = "metrics"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/Conflux-Chain/conflux-rust.git?rev=992ebc5483d937c8f6b883e266f8ed2a67a7fa9a#992ebc5483d937c8f6b883e266f8ed2a67a7fa9a"
|
source = "git+https://github.com/Conflux-Chain/conflux-rust.git?rev=c4734e337c66d38e6396742cd5117b596e8d2603#c4734e337c66d38e6396742cd5117b596e8d2603"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
|
"duration-str",
|
||||||
"futures",
|
"futures",
|
||||||
"influx_db_client",
|
"influx_db_client",
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
|
@ -28,7 +28,7 @@ members = [
|
|||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
metrics = { git = "https://github.com/Conflux-Chain/conflux-rust.git", rev = "992ebc5483d937c8f6b883e266f8ed2a67a7fa9a" }
|
metrics = { git = "https://github.com/Conflux-Chain/conflux-rust.git", rev = "c4734e337c66d38e6396742cd5117b596e8d2603" }
|
||||||
|
|
||||||
[patch.crates-io]
|
[patch.crates-io]
|
||||||
discv5 = { path = "version-meld/discv5" }
|
discv5 = { path = "version-meld/discv5" }
|
||||||
|
@ -324,7 +324,7 @@ auto_sync_enabled = true
|
|||||||
# enabled = false
|
# enabled = false
|
||||||
|
|
||||||
# Interval to output metrics periodically, e.g. "10s", "30s" or "60s".
|
# Interval to output metrics periodically, e.g. "10s", "30s" or "60s".
|
||||||
# report_interval = ""
|
# report_interval = "10s"
|
||||||
|
|
||||||
# File name to output metrics periodically.
|
# File name to output metrics periodically.
|
||||||
# file_report_output = ""
|
# file_report_output = ""
|
||||||
|
@ -336,7 +336,7 @@ auto_sync_enabled = true
|
|||||||
# enabled = false
|
# enabled = false
|
||||||
|
|
||||||
# Interval to output metrics periodically, e.g. "10s", "30s" or "60s".
|
# Interval to output metrics periodically, e.g. "10s", "30s" or "60s".
|
||||||
# report_interval = ""
|
# report_interval = "10s"
|
||||||
|
|
||||||
# File name to output metrics periodically.
|
# File name to output metrics periodically.
|
||||||
# file_report_output = ""
|
# file_report_output = ""
|
||||||
|
@ -338,7 +338,7 @@
|
|||||||
# enabled = false
|
# enabled = false
|
||||||
|
|
||||||
# Interval to output metrics periodically, e.g. "10s", "30s" or "60s".
|
# Interval to output metrics periodically, e.g. "10s", "30s" or "60s".
|
||||||
# report_interval = ""
|
# report_interval = "10s"
|
||||||
|
|
||||||
# File name to output metrics periodically.
|
# File name to output metrics periodically.
|
||||||
# file_report_output = ""
|
# file_report_output = ""
|
||||||
|
@ -209,13 +209,11 @@ class TestFramework:
|
|||||||
if i > 0:
|
if i > 0:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
node.start()
|
node.start()
|
||||||
|
node.wait_for_rpc_connection()
|
||||||
|
|
||||||
self.log.info("Wait the zgs_node launch for %d seconds", self.launch_wait_seconds)
|
self.log.info("Wait the zgs_node launch for %d seconds", self.launch_wait_seconds)
|
||||||
time.sleep(self.launch_wait_seconds)
|
time.sleep(self.launch_wait_seconds)
|
||||||
|
|
||||||
for node in self.nodes:
|
|
||||||
node.wait_for_rpc_connection()
|
|
||||||
|
|
||||||
def add_arguments(self, parser: argparse.ArgumentParser):
|
def add_arguments(self, parser: argparse.ArgumentParser):
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--conflux-binary",
|
"--conflux-binary",
|
||||||
|
Loading…
Reference in New Issue
Block a user