Django with mysql InnoDB

3 views
Skip to first unread message

lep_man

unread,
Apr 3, 2008, 9:03:32 AM4/3/08
to Django developers
HI Guys

i have buit an application that read tasks from db and execute them ,i
using django to get a connection to the db (i have crated a Task Class
(uses django models) my server reads every ten secs a list of task and
excutes them (my server is a multithreaded and has a thread that read
from the db every 10 sec )
since i make a change the default mysql engine for my tables to InnoDB
after one time
Task.objects.all() works well once and when it is comming back after
10 sec it does not read the new tasks
that are wating in the db

I'am not running in the django development server i have built a
server by my self that pulls tasks from the db

Thanks

Lep Man

Karen Tracey

unread,
Apr 3, 2008, 9:22:55 AM4/3/08
to django-d...@googlegroups.com

This question really belongs on django-users, not here.  This list is for discussion of the development of Django itself.  However I'll answer it anyway, though please use the correct list in the future.

I believe your problem is the same as the one described by this django-users thread, which includes a description of ways to fix things to work as you'd like:

http://groups.google.com/group/django-users/browse_thread/thread/e25cec400598c06d/55fa3724d2754013

Karen
Reply all
Reply to author
Forward
0 new messages