Initial worker service

This commit is contained in:
Ruslan Bakiev
2026-05-05 12:05:55 +07:00
commit e87f9b3c57
44 changed files with 13700 additions and 0 deletions

7
src/config.ts Normal file
View 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),
};