Re: [Ginp-developers] Bug in thread logic
Brought to you by:
burchbri,
dougculnane
From: Doug C. <do...@cu...> - 2005-03-26 09:51:46
|
Cool Thanks Justin. I will do some testing. I will make a log4j.properties.release and log4j.properties.chainsaw..... All the best, Doug Justin wrote: > > Doug, > > Ok I fixed the bug. The make thumbs thread sleeps for a second > and then checks for new requests to make thumbnails. The problem was > was that while it was sleeping it was blocking directory request > causing threads to pile up. This shouldn't happen now as it doesn't > hold the synchronize lock on anything while it's sleeping. BTW, Make > sure to take the log4j Chainsaw hookup out before you release. > > Regards, > > Justin > > Doug Culnane wrote: > >> Dear Justin, >> >> There is a bug in the thread logic. I tried to fix this but I have >> no experience with synchronized threads. I would fix this by >> removing the synchronized bit out of the application, which you may >> not approve of. Therefore please have a look at the code because it >> does not work on tomcat. I have to click links several times to get >> a response. I think that my encoding problem is related to this, but >> I can not know for sure until this is fixed. > > |