fix: limit run and fallback to Suspend output display

This commit is contained in:
BennyKok
2023-12-15 20:48:54 +08:00
parent e8451c3749
commit 64db3b326e
3 changed files with 17 additions and 17 deletions
+1
View File
@@ -6,6 +6,7 @@ export async function findAllRuns(workflow_id: string) {
return await db.query.workflowRunsTable.findMany({
where: eq(workflowRunsTable.workflow_id, workflow_id),
orderBy: desc(workflowRunsTable.created_at),
limit: 10,
with: {
machine: {
columns: {