chore: v0.0.1

This commit is contained in:
karishmas6
2024-10-30 12:04:38 +05:30
parent 8a21a7ac10
commit 76767f602d
7 changed files with 19 additions and 9 deletions

View File

@@ -5,8 +5,13 @@ import { handleRunRecording } from "./workflow-management/scheduler";
import Robot from './models/Robot';
import { computeNextRun } from './utils/schedule';
console.log('Environment variables:', {
REDIS_HOST: process.env.REDIS_HOST,
REDIS_PORT: process.env.REDIS_PORT,
});
const connection = new IORedis({
host: process.env.REDIS_HOST ? process.env.REDIS_HOST : 'redis',
host: process.env.REDIS_HOST,
port: process.env.REDIS_PORT ? parseInt(process.env.REDIS_PORT, 10) : 6379,
maxRetriesPerRequest: null,
});