Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

60 sec

Bill Yangecdbbb414dd0
diff --git a/server/src/index.ts b/server/src/index.ts
index 3cf4d04b5..6168d8bc5 100644
--- a/server/src/index.ts
+++ b/server/src/index.ts
@@ -62,7 +62,7 @@ const start = async () => {
await Promise.allSettled([initializeClickhouse(), initializePostgres()]);
// Start the server
await server.listen({ port: 3001, host: "0.0.0.0" });
- cron.schedule("* * * * * *", () => {
+ cron.schedule("*/60 * * * * *", () => {
console.log("Cleaning up old sessions");
cleanupOldSessions();
});