Initial worker service
This commit is contained in:
7
src/config.ts
Normal file
7
src/config.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import 'dotenv/config';
|
||||
|
||||
export const config = {
|
||||
databaseUrl: process.env.DATABASE_URL ?? '',
|
||||
workerName: process.env.HATCHET_WORKER_NAME ?? 'mapflow-hatchet-worker',
|
||||
workerSlots: Number.parseInt(process.env.HATCHET_WORKER_SLOTS ?? '4', 10),
|
||||
};
|
||||
Reference in New Issue
Block a user