« Eat less, exercise moreFractal frustration »

The medusa called autoreload

10/04/05

Permalink 04:09:43 pm, by admin Email , 65 words   English (US)
Categories: CherryPy

The medusa called autoreload

This is what I spent my weekend working on (among other things). It's the "autoreload" functionality in CherryPy. It was so complicated that it took me 15 minutes to understand it again, anytime I got distracted; having the diagram makes it quicker, at least. They say the human brain can handle about 7 things simultaneously, and this snake-pit takes about 4 at a minimum:

1 comment

Comment from: Pavel Simerda [Visitor]

Hi,

I'm trying to get an application working, which forks to execute cherrypy.server.start() in one process. When it stops, i want also the web server stopped.

Works (mostly) without autoreload, but when autoreload is enabled and I kill the web server child process, cherrypy remains running in yet another process.

I don't need it so much. Just if there's a simple solution...



01/17/06 @ 14:06

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.

Please enter the phrase "I am a real human." in the textbox above.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
July 2019
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Search

The requested Blog doesn't exist any more!

XML Feeds

blog tool