Closed bakerkj closed 6 years ago
Good idea, weeWx does a similar thing with generated reports (introduced at v 2.6.0 refer cheetahgenerator.py lines 321-353) Will add something similar to the next release. Probably be a few days.
Ok, few days have turned into a few months. Will see if I can get this and #9 out in the next week or so.
Implemented at commit a0118498d6f171e9e0317ba6c9b4a4132df1ee08
Currently this extension can write the gauge data file at the same time a webserver is reading the file. This can lead to the client getting an incomplete file. I'd suggest writing the file to a temporary file and then moving it atomically into place. Something like the following...