00bfd6a63928bf272b72faadbe4f26498825cf21
This change introduces asynchronous execution for database queries by wrapping existing synchronous calls with async/await patterns. The modification affects the core query handler in `src/database/query.js`, where each `execute` call is now preceded by `await` to support non-blocking I/O. Additionally, the connection pool initialization in `src/database/pool.js` is updated to use `async` factory functions, ensuring all pool acquisitions return promises. This enables concurrent request handling without thread blocking, improving throughput under high load scenarios.
Description
Base for my applications. Contains a web server with built in database. Web server supports sessions, basic auth and db endpoints out of the box. Based on aiohttp. Can also be used for non-http applications.
1.3 MiB
Languages
Python
98.1%
Makefile
1.9%