mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-08 05:39:13 +00:00
Increase freq. of telemetry upload to every 5 minutes
This commit is contained in:
@@ -327,7 +327,7 @@ def configure_search_types():
|
|||||||
return Enum("SearchType", core_search_types)
|
return Enum("SearchType", core_search_types)
|
||||||
|
|
||||||
|
|
||||||
@schedule.repeat(schedule.every(13).minutes)
|
@schedule.repeat(schedule.every(5).minutes)
|
||||||
def upload_telemetry():
|
def upload_telemetry():
|
||||||
if not state.config or not state.config.app or not state.config.app.should_log_telemetry or not state.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"
|
message = "📡 No telemetry to upload" if not state.telemetry else "📡 Telemetry logging disabled"
|
||||||
|
|||||||
Reference in New Issue
Block a user