Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix: WORKER_PORT

Gergő Móricz2990f33e5ecf
diff --git a/apps/api/src/services/queue-worker.ts b/apps/api/src/services/queue-worker.ts
index b8cef85b4..1104357c0 100644
--- a/apps/api/src/services/queue-worker.ts
+++ b/apps/api/src/services/queue-worker.ts
@@ -458,7 +458,7 @@ app.get("/liveness", (req, res) => {
}
});
-const workerPort = process.env.PORT || 3005;
+const workerPort = process.env.WORKER_PORT || process.env.PORT || 3005;
setTimeout(() => {
app.listen(workerPort, () => {
_logger.info(`Liveness endpoint is running on port ${workerPort}`);