Commit 704cccbe authored by EJ Finneran's avatar EJ Finneran
Browse files

Merge branch 'hotfix/timestamp-as-ms' into 'master'

timestamp as ms, fix disconnect status rate

See merge request cascade/rigado-node-hello-world-frontend!2
parents 24a7b6c1 f10d716c
......@@ -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