AFrieze wrote: > I am working on a Turbine project someone else set up. All their action > methods are synchronized. [...] > I want to remove synchronized from all our action methods. Will this > cause problems? I have to assume that the original developers made > these methods synchronized for a reason, but am unable to determine it. > A web server which can process only one request to an action does not > seem correct. All our session data is synchronized.
Well, this depends on the way the actions are written. You should not use class variables in these classes if you want to have module.cache=true. With module.cache=false, everything should be working fine without synchronization. I guess you need to check all actions for private fields and common data objects. I never use synchronization in actions if I can help it. Bye, Thomas. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
