Changes between Version 1 and Version 2 of Ticket #23325, comment 3
- Timestamp:
- Aug 20, 2014, 11:27:22 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23325, comment 3
v1 v2 1 1 Replying to [comment:1 timgraham]: 2 2 > 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 somethinklike this [http://www.tryolabs.com/Blog/2014/02/12/long-time-running-process-and-django-orm/] ?3 I 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/] ? 4 4 5 5 I have worker, which work with database(Model.objects.all()) every 2 minutes and I got "connection already closed" error from time to time