Changing refresh intervals

This commit is contained in:
Kinesin Data Technologies Incorporated
2022-10-07 17:53:23 -03:00
parent 6042507ab7
commit ca6f65bae2
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="/waterfall.css">
<title>Waterfall</title>
</head>
<body>
<body background="#FFF">
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
+1 -1
View File
@@ -6,7 +6,7 @@ import SegmentDetails from './components/SegmentDetails.vue'
export default {
data() {
return {
refreshSeconds: 15, // How often to refresh
refreshSeconds: 1, // How often to refresh
waterfallURL: 'http://localhost:2503',
activeSegment: null,
maxDisplayIntervals: 500,
+1 -1
View File
@@ -11,7 +11,7 @@ export default {
emits: ['update-refresh-interval', 'update-waterfall-url', 'update-max-intervals'],
computed: {
validRefreshIntervals() {
return [5, 10, 15, 30, 60, 300, 600];
return [1, 5, 10, 15, 30, 60, 300, 600];
},
validDisplayIntervals() {
return [0, 100, 250, 500, 1000, 1500];
+1
View File
@@ -67,6 +67,7 @@ export default {
this.data = payload;
this.chart.data(payload);
this.chart.reresh();
})
.catch(err => { throw err });
},