From: Matthew Williams <mattrwilliams@us...> - 2006-07-22 15:33:54
As you may know, updating the weather graphs can take a significant amount
of time. On Linux machines, this has been accomplished in a 2nd process so
that the main mh loop is not affected. Unfortunately, this wasn't possible
in Windows, due to limitations in Perl's fork function on Windows. This has
resulted in significant pauses in the main loop.
I have split the functionality of weather_rrd_update.pl into two files.
Weather_rrd_update.pl is now only responsible for updating the database.
The code that updates the graphs is now in mh/bin/weather_rrd_update_graphs.
This way, the graph updating stuff can be done in a forked process, even on
a Windows box as all of the functionality is contained within an external
I have been testing it here, on Linux, and many thanks to Jack Edin who has
been helping me test it in a Windows environment. The new code is in rev
792 and is composed of the following files.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around