Skip to content

Commit 74fd1c9

Browse files
authored
Reduce history queue max length (#243)
1 parent f4f0c96 commit 74fd1c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stores/queueStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export const useQueueStore = defineStore('queue', {
177177
async update() {
178178
const [queue, history] = await Promise.all([
179179
api.getQueue(),
180-
api.getHistory()
180+
api.getHistory(/* maxItems=*/ 64)
181181
])
182182

183183
const toClassAll = (tasks: TaskItem[]): TaskItemImpl[] =>

0 commit comments

Comments
 (0)