Changes between Version 1 and Version 2 of Ticket #23325, comment 3


Ignore:
Timestamp:
Aug 20, 2014, 11:27:22 AM (10 years ago)
Author:
Ilya Antipenko

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23325, comment 3

    v1 v2  
    11Replying to [comment:1 timgraham]:
    22> Why do you think this is a bug in Django? How do you expect Django to react when the database terminates the connection?
    3 I think Django should do reconnect, when connection is lost. Or I should use somethink like this  [http://www.tryolabs.com/Blog/2014/02/12/long-time-running-process-and-django-orm/] ?
     3I think Django should do reconnect, when connection is lost. Or should I use something like this  [http://www.tryolabs.com/Blog/2014/02/12/long-time-running-process-and-django-orm/] ?
    44
    55I have worker, which work with database(Model.objects.all()) every 2 minutes and I got "connection already closed" error from time to time
Back to Top