Re: tornadio2 cached results
On Thu, Mar 15, 2012 at 2:12 PM, dobrysmakwrote: > Figured out that tornadio2 or tornado is somehow keepeing django's orm data > in memory pulling that same data on each db request. > When i'm reffering to mysql database via python MySQLdb, making connection > each request. i'm getting updated results, that's ok. > > How to force tornadio2/tornado to get the updated data from db via django? > Are you mistaking the difference between read committed and repeatable read DB isolation levels? With repeatable read, all reads within a transaction will get the same results, until the transaction is committed. Cheers Tom -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: tornadio2 cached results
Figured out that tornadio2 or tornado is somehow keepeing django's orm data in memory pulling that same data on each db request. When i'm reffering to mysql database via python MySQLdb, making connection each request. i'm getting updated results, that's ok. How to force tornadio2/tornado to get the updated data from db via django? -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/IV4QqgcUePQJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
tornadio2 cached results
Hi, i'm running tornadio2 server with socket.io and i run into a problem, when i'm getting some data from db via django's orm the socket server doesn't want to get new fresh data from db, every time the event occurs. He's just keeping the same data from begging. Does anyone had same problem? Bye. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/MAJL0l_fzpQJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.