Commit Graph

8 Commits

Author SHA1 Message Date
32fe81de30 feat: refactor data processing pipeline to use async/await for non-blocking I/O
The core data ingestion module has been rewritten to replace synchronous file reads and database writes with asynchronous coroutines using asyncio. This change eliminates thread pool overhead for I/O-bound operations, improving throughput under high concurrency. The `process_batch` function now awaits `aiofiles.open` and `asyncpg.execute`, with error handling updated to propagate exceptions through the event loop.
2025-11-23 19:30:37 +00:00
cfab51abd8 feat: add include functionality to support modular template composition
Implement the `include` directive that allows embedding external template files into the current template at render time. This enables code reuse and separation of concerns by letting templates import shared components like headers, footers, or partials. The feature parses include statements, resolves file paths relative to the template root, and recursively renders the included content within the parent template's variable scope.
2025-11-23 14:23:59 +00:00
77beada5a6 test: add unit tests for user authentication and profile retrieval endpoints 2025-11-23 14:07:19 +00:00
0028a6f2de feat: implement async processing for data pipeline operations
Refactor the core data processing module to use asyncio for concurrent task execution, replacing the previous synchronous loop. This change introduces async/await patterns across the main handler and utility functions, enabling non-blocking I/O for database queries and external API calls. The update includes new async context managers for connection pooling and error handling, improving throughput under high load scenarios.
2025-11-23 13:30:46 +00:00
0b53a5bef3 fix: break infinite loop in user session renewal handler 2025-11-23 12:53:36 +00:00
2bbb2a40a8 chore: remove trailing whitespace from README.md line 42 2025-11-22 23:17:01 +00:00
83dd5cd618 chore: remove trailing whitespace from README.md line 42 2025-11-22 22:15:15 +00:00
c52fa04787 chore: organize project directory structure with logical grouping of modules 2025-11-22 21:22:43 +00:00