INNER CODE UNIT · JavaScript
delayMs
ClickDevTech/CELERITY-panel · index.js:481
delayMs = Math.min(delayMs * 2, 30000);
}
}
}
async function startServer() {
try {
await connectMongo();
logger.info('[MongoDB] Connected');
await cacheService.connect();
initSessionMiddleware();
logger.info('[Redis] Session store initialized');
// Migration: drop legacy unique index on ip (replaced by compound {ip, type} index)
try {
await mongoose.connection.collection('hynodes').dropIndex('ip_1');