diff --git a/src/client/app/admin/views/queue.vue b/src/client/app/admin/views/queue.vue
index 63ff87e7d3..3c23444c4d 100644
--- a/src/client/app/admin/views/queue.vue
+++ b/src/client/app/admin/views/queue.vue
@@ -9,7 +9,7 @@
Process
- jobs/s
+ jobs/tick
Active
@@ -36,7 +36,7 @@
Process
- jobs/s
+ jobs/tick
Active
@@ -131,8 +131,10 @@ export default Vue.extend({
},
mounted() {
- const chartOpts = {
+ const chartOpts = id => ({
chart: {
+ id,
+ group: 'queue',
type: 'area',
height: 200,
animations: {
@@ -186,10 +188,10 @@ export default Vue.extend({
show: false,
min: 0,
}
- };
+ });
- this.inboxChart = new ApexCharts(this.$refs.inboxChart, chartOpts);
- this.deliverChart = new ApexCharts(this.$refs.deliverChart, chartOpts);
+ this.inboxChart = new ApexCharts(this.$refs.inboxChart, chartOpts('a'));
+ this.deliverChart = new ApexCharts(this.$refs.deliverChart, chartOpts('b'));
this.inboxChart.render();
this.deliverChart.render();
diff --git a/src/daemons/queue-stats.ts b/src/daemons/queue-stats.ts
index 8c879c4ef0..00709f2607 100644
--- a/src/daemons/queue-stats.ts
+++ b/src/daemons/queue-stats.ts
@@ -4,7 +4,7 @@ import { deliverQueue, inboxQueue } from '../queue';
const ev = new Xev();
-const interval = 1000;
+const interval = 2000;
/**
* Report queue stats regularly