PlaidWeb / Publ

Flexible publishing system for the web
http://publ.beesbuzz.biz/
MIT License
40 stars 4 forks source link

Allow disabling the watchdog for production use #481

Closed fluffy-critter closed 2 years ago

fluffy-critter commented 2 years ago

Summary

Allow disabling the index watchdog; fixes #475

Detailed description

In production setups, dynamically creating content based on external events (form submissions, RSS feeds, etc.) is perilous because the index watchdog can end up stomping over the automated changes, which can lead to duplicate entries or other weird behavior. This adds a configuration option, index_enable_watchdog, which defaults to True but can be disabled, so as to allow a production site to choose when content gets reindexed.

Test plan

Manually smoke-tested.