chg: [app:live-logs] Increased refresh frequency of activity bars

This commit is contained in:
Sami Mokaddem 2024-07-08 10:06:50 +02:00
parent dc1f7b6376
commit 6178592d10
2 changed files with 10 additions and 5 deletions

6
db.py
View file

@ -16,9 +16,9 @@ PROGRESS = {
NOTIFICATION_BUFFER_SIZE = 30
NOTIFICATION_MESSAGES = collections.deque([], NOTIFICATION_BUFFER_SIZE)
NOTIFICATION_HISTORY_BUFFER_RESOLUTION_PER_MIN = 3
NOTIFICATION_HISTORY_BUFFER_TIMESPAN_MIN = 60
NOTIFICATION_HISTORY_FREQUENCY = NOTIFICATION_HISTORY_BUFFER_TIMESPAN_MIN / NOTIFICATION_HISTORY_BUFFER_RESOLUTION_PER_MIN
NOTIFICATION_HISTORY_BUFFER_RESOLUTION_PER_MIN = 12
NOTIFICATION_HISTORY_BUFFER_TIMESPAN_MIN = 20
NOTIFICATION_HISTORY_FREQUENCY = 60 / NOTIFICATION_HISTORY_BUFFER_RESOLUTION_PER_MIN
notification_history_size = NOTIFICATION_HISTORY_BUFFER_RESOLUTION_PER_MIN * NOTIFICATION_HISTORY_BUFFER_TIMESPAN_MIN
NOTIFICATION_HISTORY = collections.deque([], notification_history_size)
NOTIFICATION_HISTORY.extend([0] * notification_history_size)

View file

@ -33,7 +33,12 @@
blur: 3,
color: '#000',
opacity: 0.45
}
},
animations: {
enabled: true,
easing: 'easeinout',
speed: 200,
},
},
plotOptions: {
bar: {
@ -47,7 +52,7 @@
},
tooltip: {
enabled: false,
}
},
}
watch(verbose, (newValue) => {