Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
codeincontext committed Oct 30, 2024
1 parent 57ade5f commit 45c0551
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,5 @@ export const cachedFetch: PostHog["fetch"] = async (url, options) => {
};

export const featureFlagsPollingInterval =
process.env.NODE_ENV === "production"
? ONE_MINUTE
: // prevent polling timeout from stacking when HMR replaces posthogAiBetaServerClient
ONE_DAY;
// prevent polling timeout from stacking when HMR replaces posthogAiBetaServerClient
process.env.NODE_ENV === "development" ? ONE_DAY : ONE_MINUTE;

0 comments on commit 45c0551

Please sign in to comment.