Commit f10d716c authored by Vladimir Kiryakov's avatar Vladimir Kiryakov
Browse files

timestamp as ms, fix disconnect status rate

parent 24a7b6c1
......@@ -6,7 +6,7 @@ import config from '../config';
const debounceApply = _.debounce((apply) => {
apply();
}, 1000);
}, 5000);
const mqttMiddleware = (function () {
let url = null;
......
......@@ -42,7 +42,7 @@ class Chart extends PureComponent {
const axis = {
x: {
tick: {
format: (x) => moment(x).format("hh:mm:ss")
format: (x) => moment(x*1000).format("hh:mm:ss")
}
}
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment