get_topics_paginated-fix
All checks were successful
Deploy on push / deploy (push) Successful in 56s

This commit is contained in:
2025-03-22 18:49:15 +03:00
parent 81a8bf3c58
commit 3c56fdfaea
3 changed files with 1 additions and 19 deletions

View File

@@ -53,7 +53,6 @@
- Implemented persistent Redis caching for topic queries (no TTL, invalidated only on changes)
- Optimized topic retrieval with separate endpoints for different use cases:
- `get_topics_all` - returns all topics without statistics for lightweight listing
- `get_topics_paginated` - returns topics with statistics and pagination support
- `get_topics_by_community` - adds pagination and optimized filtering by community
- Added SQLAlchemy-managed indexes directly in ORM models for automatic schema maintenance
- Created `sync_indexes()` function for automatic index synchronization during app startup