Re: Synchronize method or model field access

2011-05-25 Thread Pawel R
> I would push the atomic updates to the database or use a queue with a single > worker. Thread level locking doesn't scale across processes or servers. Could you tell me please how? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Synchronize method or model field access

2011-05-25 Thread Pawel R
> Synchronise what with what? Synchronize with other threads. I need this method to be invoked by only one thread at a time. > "It doesn't work" is utterly useless. What does it do? It lets more than 1 thread to invoke this method at a time. > How does that differ from what you were expecting?