remove latency

This commit is contained in:
John-Paul Compagnone
2024-06-11 11:13:50 -04:00
parent 4d9fde572e
commit 5a09ddcb04
2 changed files with 0 additions and 3 deletions

View File

@@ -15,7 +15,6 @@ class PoolMetrics:
url: URL of the pool.
index: Index of the pool.
user: Username for the pool.
latency: latency of pool connection in milliseconds.
pool_rejected_percent: Percentage of rejected shares by the pool.
pool_stale_percent: Percentage of stale shares by the pool.
"""
@@ -29,7 +28,6 @@ class PoolMetrics:
url: str = None
index: int = None
user: str = None
latency: float = None
pool_rejected_percent: float = field(init=False)
pool_stale_percent: float = field(init=False)

View File

@@ -433,7 +433,6 @@ class ePIC(ePICFirmware):
PoolMetrics(
accepted=web_summary["Session"].get("Accepted"),
rejected=web_summary["Session"].get("Rejected"),
latency=web_summary["Stratum"].get("Average Latency"),
get_failures=0,
remote_failures=0,
active=web_summary["Stratum"].get("IsPoolConnected"),