14 lines
285 B
TypeScript
14 lines
285 B
TypeScript
|
|
import type {} from "graphile-config";
|
||
|
|
import type {} from "graphile-worker";
|
||
|
|
|
||
|
|
const preset: GraphileConfig.Preset = {
|
||
|
|
worker: {
|
||
|
|
connectionString: process.env.DATABASE_URL,
|
||
|
|
maxPoolSize: 10,
|
||
|
|
pollInterval: 2000,
|
||
|
|
fileExtensions: [".ts"],
|
||
|
|
},
|
||
|
|
};
|
||
|
|
|
||
|
|
export default preset;
|