Skip to content

Commit 1dfee24

Browse files
committed
extend worker preset in tasks.md example preset
1 parent 1cf6a17 commit 1dfee24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

website/docs/tasks.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,10 @@ one way is to do the following:
118118
`NODE_OPTIONS="--loader ts-node/esm"` set.
119119

120120
```ts title="Example graphile.config.ts"
121-
import type {} from "graphile-worker";
121+
import { WorkerPreset } from "graphile-worker";
122122

123123
const preset: GraphileConfig.Preset = {
124+
extends: [WorkerPreset],
124125
worker: {
125126
connectionString: process.env.DATABASE_URL,
126127
concurrentJobs: 5,

0 commit comments

Comments
 (0)