fedwiki / wiki-server

Federated Wiki client and server in Node.js
Other
153 stars 35 forks source link

fix for fedwiki/wiki-client#88 #91

Closed paul90 closed 9 years ago

paul90 commented 9 years ago

a couple of errors left the sitemap in a running state

  1. If the sitemap creation fails, we signal a stop event. With a new stand-alone server, the problem will have cleared itself by the time the sitemap is first requested, other error conditions may required intervention, but by signalling a stop we allow the create to be run later. this is a fix for fedwiki/wiki-client#88
  2. When we fail to load the sitemap back into memory, probably it has been corrupted so it can't be parsed, we will recreate the sitemap.
paul90 commented 9 years ago

Published as + wiki-server@0.5.2