diff --git a/src/khoj/configure.py b/src/khoj/configure.py index a8d65216..554de35c 100644 --- a/src/khoj/configure.py +++ b/src/khoj/configure.py @@ -327,7 +327,7 @@ def configure_search_types(): return Enum("SearchType", core_search_types) -@schedule.repeat(schedule.every(5).minutes) +@schedule.repeat(schedule.every(2).minutes) def upload_telemetry(): if not state.config or not state.config.app or not state.config.app.should_log_telemetry or not state.telemetry: message = "📡 No telemetry to upload" if not state.telemetry else "📡 Telemetry logging disabled" diff --git a/src/khoj/database/admin.py b/src/khoj/database/admin.py index 0e440872..97a0f3ed 100644 --- a/src/khoj/database/admin.py +++ b/src/khoj/database/admin.py @@ -35,7 +35,7 @@ class KhojUserAdmin(UserAdmin): "is_superuser", "phone_number", ) - search_fields = ("email", "username", "phone_number") + search_fields = ("email", "username", "phone_number", "uuid") filter_horizontal = ("groups", "user_permissions") fieldsets = (("Personal info", {"fields": ("phone_number",)}),) + UserAdmin.fieldsets