« Previous | Next » 

Revision 5da13d77

ID5da13d778990eee044da89ae09d5324ce27fc00e

Added by Vangelis Koukis about 11 years ago

Close DB conn in dispatcher before every message

Have the dispatcher close the Django DB connection before processing
an incoming message. This allows the actual, underlying DBAPI connection
to return to the DB connection pool, if used, and enables the dispatcher
to recover from broken DB connections gracefully.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences