chg: [app:live-logs] Increased refresh frequency of activity bars
This commit is contained in:
parent
dc1f7b6376
commit
6178592d10
2 changed files with 10 additions and 5 deletions
6
db.py
6
db.py
|
@ -16,9 +16,9 @@ PROGRESS = {
|
||||||
NOTIFICATION_BUFFER_SIZE = 30
|
NOTIFICATION_BUFFER_SIZE = 30
|
||||||
NOTIFICATION_MESSAGES = collections.deque([], NOTIFICATION_BUFFER_SIZE)
|
NOTIFICATION_MESSAGES = collections.deque([], NOTIFICATION_BUFFER_SIZE)
|
||||||
|
|
||||||
NOTIFICATION_HISTORY_BUFFER_RESOLUTION_PER_MIN = 3
|
NOTIFICATION_HISTORY_BUFFER_RESOLUTION_PER_MIN = 12
|
||||||
NOTIFICATION_HISTORY_BUFFER_TIMESPAN_MIN = 60
|
NOTIFICATION_HISTORY_BUFFER_TIMESPAN_MIN = 20
|
||||||
NOTIFICATION_HISTORY_FREQUENCY = NOTIFICATION_HISTORY_BUFFER_TIMESPAN_MIN / NOTIFICATION_HISTORY_BUFFER_RESOLUTION_PER_MIN
|
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_size = NOTIFICATION_HISTORY_BUFFER_RESOLUTION_PER_MIN * NOTIFICATION_HISTORY_BUFFER_TIMESPAN_MIN
|
||||||
NOTIFICATION_HISTORY = collections.deque([], notification_history_size)
|
NOTIFICATION_HISTORY = collections.deque([], notification_history_size)
|
||||||
NOTIFICATION_HISTORY.extend([0] * notification_history_size)
|
NOTIFICATION_HISTORY.extend([0] * notification_history_size)
|
||||||
|
|
|
@ -33,7 +33,12 @@
|
||||||
blur: 3,
|
blur: 3,
|
||||||
color: '#000',
|
color: '#000',
|
||||||
opacity: 0.45
|
opacity: 0.45
|
||||||
}
|
},
|
||||||
|
animations: {
|
||||||
|
enabled: true,
|
||||||
|
easing: 'easeinout',
|
||||||
|
speed: 200,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
plotOptions: {
|
plotOptions: {
|
||||||
bar: {
|
bar: {
|
||||||
|
@ -47,7 +52,7 @@
|
||||||
},
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
watch(verbose, (newValue) => {
|
watch(verbose, (newValue) => {
|
||||||
|
|
Loading…
Reference in a new issue