Ilya Khrustalev

Results 3 issues of Ilya Khrustalev

## Description This pull request addresses a database connection leak caused by `django-apscheduler` not closing stale connections after task execution. The solution involves wrapping `run_with_process_lock` with the `@close_old_connections` decorator provided...

## Describe the bug When using Django ORM with FastAPI in the Khoj service, database connections are not properly closed. This results in a gradual increase in open database connections,...

fix