v0.6.4 - Connection Fix & Cachalot Compatibility
What's New
Fixed
- Critical: DB connections exhausted (#15) —
_table_exists()now caches its result at process level. Previously it ran a full schema introspection query on every cache hit, model save, or management command event, spiking DB connections under load. - Critical:
migratefails on fresh database (#16) — Added_table_exists()guard torecord_command()andrecord_cache_operation()to prevent Orbit from writing toorbit_orbitentrybefore migrations have created it (fixes PostgreSQL transaction poisoning). - Critical: RecursionError with django-cachalot (#10) — Wrapped all internal Orbit writes in
cachalot_disabled()to break the infinite invalidation loop. - Crash on anonymous signals (#7) — Safe sender name resolution prevents
AttributeError.
Added
- Duplicate Query Detection (N+1) with "DUP" badge and filter
- Top Slowest Queries highlighted in entry detail view
ORBITsettings key support (backwards compatible withORBIT_CONFIG)
Upgrading
pip install django-orbit==0.6.4No migration changes required.