mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
Bump up server side content indexing interval to ~1 day
Reduce server side indexing load and API request failures
This commit is contained in:
parent
0fba1e27c5
commit
1c52ddf792
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ def configure_middleware(app):
|
|||
app.add_middleware(SessionMiddleware, secret_key=os.environ.get("KHOJ_DJANGO_SECRET_KEY", "!secret"))
|
||||
|
||||
|
||||
@schedule.repeat(schedule.every(61).minutes)
|
||||
@schedule.repeat(schedule.every(22).to(26).hours)
|
||||
def update_search_index():
|
||||
try:
|
||||
logger.info("📬 Updating content index via Scheduler")
|
||||
|
|
Loading…
Reference in a new issue