OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
fix(worker): try wait 10 times before failing
Carl-Gerhard Lindesvärd0167d9a76181
diff --git a/apps/worker/src/jobs/events.incoming-event.ts b/apps/worker/src/jobs/events.incoming-event.tsindex 1c6262a8a..cee1e1ae8 100644--- a/apps/worker/src/jobs/events.incoming-event.ts+++ b/apps/worker/src/jobs/events.incoming-event.ts@@ -195,7 +195,7 @@ function getSessionEndWithPriority(return async (args) => {const res = await getSessionEnd(args);- if (count > 3) {+ if (count > 10) {throw new Error('Failed to get session end');}