Skip to content

Commit 6ab5fa5

Browse files
committed
fix(posthog): revert flushAt to 20 for long-running ECS container
1 parent c170e19 commit 6ab5fa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/lib/posthog/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function getClient(): import('posthog-node').PostHog | null {
2626
const { PostHog } = require('posthog-node') as typeof import('posthog-node')
2727
_client = new PostHog(key, {
2828
host: 'https://us.i.posthog.com',
29-
flushAt: 1,
29+
flushAt: 20,
3030
flushInterval: 10_000,
3131
})
3232
return _client

0 commit comments

Comments
 (0)