浏览代码

Do not track compile in posthog metrics (#4669)

Masen Furer 4 月之前
父节点
当前提交
818788da63
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      reflex/app_module_for_backend.py

+ 0 - 3
reflex/app_module_for_backend.py

@@ -5,14 +5,12 @@ Only the app attribute is explicitly exposed.
 from concurrent.futures import ThreadPoolExecutor
 
 from reflex import constants
-from reflex.utils import telemetry
 from reflex.utils.exec import is_prod_mode
 from reflex.utils.prerequisites import get_and_validate_app
 
 if constants.CompileVars.APP != "app":
     raise AssertionError("unexpected variable name for 'app'")
 
-telemetry.send("compile")
 app, app_module = get_and_validate_app(reload=False)
 # For py3.9 compatibility when redis is used, we MUST add any decorator pages
 # before compiling the app in a thread to avoid event loop error (REF-2172).
@@ -31,6 +29,5 @@ del app_module
 del compile_future
 del get_and_validate_app
 del is_prod_mode
-del telemetry
 del constants
 del ThreadPoolExecutor