Skip to content

v0.6.0

Compare
Choose a tag to compare
@onlime onlime released this 01 Sep 08:47
· 15 commits to main since this release
f9671e1

Improved:

  • Improved performance and stability by introducing database connection pooling, using DBUtils PooledDB (pooled_db)
  • Moved logger and db cleanup code into destructor of Handler.
  • Refactored database.db to app.db to simplify project structure.

Added:

  • Added environment variables DB_POOL_MINCACHED, DB_POOL_MAXCACHED, DB_POOL_MAXSHARED, DB_POOL_MAXUSAGE for db connection pooling fine-tuning.

Fixed:

  • Fix Lost connection to MySQL server during query and ``AttributeError: 'NoneType' object has no attribute 'read'` (on db cursor) connectivity issues by introducing connection pooling.