Reduce history queue max length (#243)

This commit is contained in:
Chenlei Hu
2024-07-27 22:23:46 -04:00
committed by GitHub
parent f4f0c960a3
commit 74fd1c9abe

View File

@@ -177,7 +177,7 @@ export const useQueueStore = defineStore('queue', {
async update() {
const [queue, history] = await Promise.all([
api.getQueue(),
api.getHistory()
api.getHistory(/* maxItems=*/ 64)
])
const toClassAll = (tasks: TaskItem[]): TaskItemImpl[] =>