PostHog / posthog-js-lite

Reimplementation of posthog-js to be as light and modular as possible.
https://posthog.com/docs/libraries
MIT License
70 stars 36 forks source link

[Docs] Update Node docs to include info about requestTimeout option #68

Closed frazerpoggio closed 1 year ago

frazerpoggio commented 1 year ago

Hi,

I ran into an issue where the default timeout for requesting feature flags was too high. I first tried to look for information on the configuration in the official docs but couldn't see any. I had to go find it in the source code here. Since all the other configurations are in the official docs i figured this one got missed.

Thanks!

benjackwhite commented 1 year ago

Happy to do so 👍

As a small note, you can also propose PRs to our public webpages - theirs even an "edit" icon on the page that will link you straight there. Not an expectation of course, but sometimes it's the same effort as creating an issue and is likely to get seen and fixed quicker 🙌

benjackwhite commented 1 year ago

PR here so will close this pre-emptively