Skip to content

Commit

Permalink
Reduce history queue max length (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei committed Jul 28, 2024
1 parent f4f0c96 commit 74fd1c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/queueStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[] =>
Expand Down

0 comments on commit 74fd1c9

Please sign in to comment.