Typo, remove setTimeout

pull/1418/head
Rick Carlino 2019-09-06 14:20:48 -05:00
parent 9d23db4130
commit 5d61c61fd2
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ export function sendOutboundPing(bot: Farmbot) {
const no = () => markStale(id);
dispatchQosStart(id);
bot.ping().then(ok, no);
setTimeout(no, PING_INTERVAL);
// setTimeout(no, PING_INTERVAL);
}
export function startPinging(bot: Farmbot) {

View File

@ -58,7 +58,7 @@ export class QosPanel extends React.Component<Props, {}> {
<div className="chip-temp-display">
<Row k="Percent OK" v={pct(errorRate, PCT)} />
<Row k="Pings sent" v={pct(r.total, NONE)} />
<Row k="Pings received" v={pct(r.complete, PCT)} />
<Row k="Pings received" v={pct(r.complete, NONE)} />
<Row k="Best time" v={pct(r.best, MS)} />
<Row k="Worst time" v={pct(r.worst, MS)} />
<Row k="Average time" v={pct(r.average, MS)} />