NYPL-Simplified / server_core

Shared data model and utilities for Library Simplified server applications
7 stars 11 forks source link

Generating a new OPDS entry resets site configuration #652

Open leonardr opened 7 years ago

leonardr commented 7 years ago

I ran a script to regenerate OPDS entries for NYPL's circulation manager and it practically brought down the site because the site configuration kept getting reset. Even without that script running, OPDS entries are frequently regenerated (e.g. when new books come in), so we need to investigate why this happens (assuming I diagnosed the problem correctly) and fix it.

leonardr commented 7 years ago

The circulation manager keeps configuration cached for one minute, and I'm seeing it decide to reload every single minute.