You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
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.
dobrysmak
unread,
Mar 15, 2012, 10:12:11 AM3/15/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
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?
Tom Evans
unread,
Mar 15, 2012, 10:59:37 AM3/15/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
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.