Skip to content

Commit 0712e48

Browse files
committed
live-demo: turn on background jobs plugin
1 parent 31f8dea commit 0712e48

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

live-demo/app/resources/jobs.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,16 @@ const jobsResource: AdminForthResourceInput = {
9494
},
9595
],
9696
plugins: [
97-
// new BackgroundJobsPlugin({
98-
// createdAtField: 'created_at',
99-
// finishedAtField: 'finished_at',
100-
// startedByField: 'started_by',
101-
// stateField: 'state',
102-
// progressField: 'progress',
103-
// statusField: 'status',
104-
// nameField: 'name',
105-
// jobHandlerField: 'job_handler_name',
106-
// })
97+
new BackgroundJobsPlugin({
98+
createdAtField: 'created_at',
99+
finishedAtField: 'finished_at',
100+
startedByField: 'started_by',
101+
stateField: 'state',
102+
progressField: 'progress',
103+
statusField: 'status',
104+
nameField: 'name',
105+
jobHandlerField: 'job_handler_name',
106+
})
107107
]
108108
};
109109

0 commit comments

Comments
 (0)