-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve resilience of posthog integration #2116
Comments
How similar is this to the work @jkachel is doing on mitodl/mit-learn#693 |
@rhysyngsun what does "pushing us well over the 30 second Heroku request timeout." mean? |
Heroku has a 30 second request timeout: https://devcenter.heroku.com/articles/request-timeout |
This should not be automatically closed. This can be closed once the changes added in mitodl/ol-django#152 are integrated with MITx Online. |
Blocked by mitodl/ol-django#156 |
Even though we made this change, we had another outage. Unlike the first outage, instead of PostHog timing out, it returned an error. So we need to add better error handling. |
Description/Context
Posthog had an outage which caused calls to their API to timeout.
We worked around this by setting
IN_TEST_SUITE=True
andFEATURES_DEFAULT=True
because we were fortunate enough to have all features enabled. It took some time to evaluate if this was the correct way to address the issue becauseIN_TEST_SUITE
sounds like it could have other undesirable effects.Plan/Design
IN_TEST_SUITE
toPOSTHOG_ENABLED
default_client
default_client
: https://github.com/PostHog/posthog-python/blob/master/posthog/__init__.py#L441-L455The text was updated successfully, but these errors were encountered: