tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48743] New: Make the SLEEP variable in settable from the environment.
Date Mon, 15 Feb 2010 03:45:42 GMT

           Summary: Make the SLEEP variable in settable from
                    the environment.
           Product: Tomcat 6
           Version: 6.0.24
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina

I have a web application that has a single threaded job executor that it blocks
on a condition variable waiting for a new task to show up with a timeout of 15
seconds.  Under light or no load when the web application is shut down it can
take 15+ seconds for the thread to wake up and check that it should be shut

Given that I know it can take 15+ seconds for the application to be shut down,
it would be nice to set the SLEEP variable in so it doesn't exit
after 5 seconds.

So maybe rename SLEEP to CATALINA_SLEEP and if it isn't set then default it to

Maybe I should update my web application to not wait 15 seconds before checking
to shut down, but I don't bounce the server often and I'd rather not have the
thread wake up more often then it needs to.


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message