feat: Fix typos in MetricFetcher of sentinel-dashboard (#2324)
This commit is contained in:
parent
436a88562e
commit
20a0e4d7f0
|
|
@ -268,7 +268,7 @@ public class MetricFetcher {
|
||||||
lastFetchMs = lastFetchMs / 1000 * 1000;
|
lastFetchMs = lastFetchMs / 1000 * 1000;
|
||||||
long endTime = lastFetchMs + FETCH_INTERVAL_SECOND * 1000;
|
long endTime = lastFetchMs + FETCH_INTERVAL_SECOND * 1000;
|
||||||
if (endTime > now - 1000 * 2) {
|
if (endTime > now - 1000 * 2) {
|
||||||
// to near
|
// too near
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// update last_fetch in advance.
|
// update last_fetch in advance.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue