Skip to content

Commit 69edda9

Browse files
chore(Sky): Disable PostHog surveys and decide endpoint
Add disable_surveys and advanced_disable_decide options to PostHog initialization in PostHogBridge.ts. These settings eliminate unnecessary network requests to PostHog's surveys and decide endpoints, reducing boot-time network overhead in the development environment. This complements the recent per-component buffering refactor by further minimizing PostHog's network footprint during editor startup.
1 parent ca8ef59 commit 69edda9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Source/Workbench/Electron/PostHogBridge.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ const LoadPostHog = async (): Promise<any> => {
3939
capture_pageview: false,
4040
capture_pageleave: false,
4141
disable_session_recording: true,
42+
disable_surveys: true,
43+
advanced_disable_decide: true,
4244
persistence: "memory",
4345
bootstrap: {
4446
distinctID: `land-dev-${Date.now()}`,

0 commit comments

Comments
 (0)