eg I have an infinite loop with a sleep (1) and then a model.save ()
but every save he opens and closes a new connection, creating an unnecessary deman of connections and processing.
Anyone know how to circumvent it? for example using a connection every 5 minutes.
Or any better solution
hugs to all
--
Daniel Corbe Hahne Latorre
daniel@corbe.com.br
55 48 9618-5115
skype: daniel_corbe
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment