Skip to content

Commit

Permalink
Apply fix to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Mar 11, 2024
1 parent dd1860a commit 2194057
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions website/docs/admin-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,7 @@ graphile-worker --cleanup DELETE_PERMAFAILED_JOBS,GC_TASK_IDENTIFIERS,GC_JOB_QUE
Or in the library using [WorkerUtils](/docs/library/queue#workerutils):

```ts title="JS API"
await workerUtils.cleanup([
"DELETE_PERMAFAILED_JOBS",
"GC_TASK_IDENTIFIERS",
"GC_JOB_QUEUES",
]);
await workerUtils.cleanup({
tasks: ["DELETE_PERMAFAILED_JOBS", "GC_TASK_IDENTIFIERS", "GC_JOB_QUEUES"],
});
```

0 comments on commit 2194057

Please sign in to comment.