SurfSense/surfsense_backend/app
Claude af1013fc1d
Fix deadlock by using RLock instead of Lock
- Replace threading.Lock() with threading.RLock() (reentrant lock)
- Prevents deadlock when _initialize_chunker/_initialize_code_chunker
  call _initialize_embedding_model while holding the lock
- RLock allows same thread to re-acquire lock safely

Addresses critical PR #17 review feedback
2025-11-18 23:27:31 +00:00
..
agents Consolidate connector metadata into NamedTuple and use helper functions 2025-11-18 23:25:37 +00:00
config Fix deadlock by using RLock instead of Lock 2025-11-18 23:27:31 +00:00
connectors chore: linting 2025-11-03 16:00:58 -08:00
prompts Fixed all ruff lint and formatting errors 2025-07-24 14:43:48 -07:00
retriver recurse fix 2025-08-20 10:21:59 -07:00
routes Improve code quality per PR #11 and #12 review feedback 2025-11-18 22:46:17 +00:00
schemas Add disable_registration toggle to site configuration 2025-11-18 14:28:16 +02:00
services Update streaming service and database connection handling 2025-11-17 20:34:56 +02:00
tasks Update streaming service and database connection handling 2025-11-17 20:34:56 +02:00
utils feat: Implement local-first European AI architecture with Mistral NeMo and TildeOpen 2025-11-17 19:58:20 +02:00
__init__.py feat: SurfSense v0.0.6 init 2025-03-14 18:53:14 -07:00
app.py Refactor auth token usage to use AUTH_TOKEN_KEY constant 2025-11-18 22:03:56 +00:00
celery_app.py Optimize RAM usage with lazy loading and memory limits 2025-11-18 23:13:29 +00:00
db.py Add disable_registration toggle to site configuration 2025-11-18 14:28:16 +02:00
users.py Update streaming service and database connection handling 2025-11-17 20:34:56 +02:00