Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
sentry: Increase shutdown_timeout from 2s to 10s.
Alex Vandiver30968e8b5ab2
diff --git a/zproject/sentry.py b/zproject/sentry.pyindex b5129006458..0d4283db7bf 100644--- a/zproject/sentry.py+++ b/zproject/sentry.py@@ -68,6 +68,10 @@ def setup_sentry(dsn: Optional[str], environment: str) -> None:SqlalchemyIntegration(),],before_send=add_context,+ # Increase possible max wait to send exceptions during+ # shutdown, from 2 to 10; potentially-large exceptions are of+ # value to catch during shutdown.+ shutdown_timeout=10,# Because we strip the email/username from the Sentry data# above, the effect of this flag is that the requests/users# involved in exceptions will be identified in Sentry only by