Working proof of concept for queue

This commit is contained in:
2024-09-22 00:20:49 +02:00
parent 9d6de8a1a9
commit 9f7c48f2c2
4 changed files with 28 additions and 19 deletions

View File

@ -3,7 +3,7 @@ import dotenv from 'dotenv'
dotenv.config()
class config {
static ENV: string = process.env.ENV || 'prod'
static ENV: string = process.env.ENV || 'development'
static REDIS_URL: string = process.env.REDIS_URL || 'redis://@127.0.0.1:6379/4'
static HOST: string = process.env.HOST || '0.0.0.0'
static PORT: number = process.env.PORT ? parseInt(process.env.PORT) : 6969