aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei-Ning Huang <w@byzantine-lab.io>2019-10-01 00:28:53 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-10-01 00:28:53 +0800
commit586dc9c947ec40f7ee90b03d235ac4ca14699c60 (patch)
treea06cfe1f06c569b547665124400746356e7cb770
parent5a6fa4dbf9f40b6cf224b3051deb9939d959c1f5 (diff)
downloadtangerine-monitor-586dc9c947ec40f7ee90b03d235ac4ca14699c60.tar.gz
tangerine-monitor-586dc9c947ec40f7ee90b03d235ac4ca14699c60.tar.zst
tangerine-monitor-586dc9c947ec40f7ee90b03d235ac4ca14699c60.zip
monitor: set balance check duration to 24 hour
-rw-r--r--monitor/monitor.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/monitor.go b/monitor/monitor.go
index e680826..2c9cc57 100644
--- a/monitor/monitor.go
+++ b/monitor/monitor.go
@@ -90,7 +90,7 @@ func NewMonitor(networkID int, backend backendIntf, threshold string) *Monitor {
backend: backend,
tanBalancesCache: tanBalance,
ethBalancesCache: ethBalance,
- checkBalanceDuration: 10 * time.Minute,
+ checkBalanceDuration: 24 * time.Hour,
ethThresholdString: threshold,
ethThreshold: ethThreshold,
}