ahh, thats a tip, should I commit after every table ? Like this?

store.find(JobseekerApplication, JobseekerApplication.user_id == 
session["user_id"]).remove()
store.commit()


store.find(JobseekerAcademicRecord, JobseekerAcademicRecord.user_id == 
session["user_id"]).remove()
store.commit()


thanks




Gustavo Niemeyer wrote:
>> Hi Gustavo, you are right about the locks, the ere were many locks 
>> beeing held. Is there some way I can handle this better?  I´m doomed :-((
>>     
>
> Yes, but it's entirely dependent on your application.  In general, don't
> keep transactions open (IOW, don't do actions on the store and forget
> about it without commit/rollback).
>
>   


-- 
storm mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/storm

Reply via email to