Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

fix: decrease profile flush to 10s

Carl-Gerhard Lindesvärd40a3178b57d7
diff --git a/apps/worker/src/boot-cron.ts b/apps/worker/src/boot-cron.ts
index 177bbdd49..b29a6a7c7 100644
--- a/apps/worker/src/boot-cron.ts
+++ b/apps/worker/src/boot-cron.ts
@@ -51,7 +51,7 @@ export async function bootCron() {
{
name: 'flush',
type: 'flushProfiles',
- pattern: 1000 * 60,
+ pattern: 1000 * 10,
},
{
name: 'flush',