283
283
base_cache_signaling.last_value
284
284
FROM base_registry_signaling, base_cache_signaling""")
286
290
# Check if the model registry must be reloaded (e.g. after the
287
291
# database has been updated by another process).
289
293
_logger.info("Reloading the model registry after database signaling.")
290
294
registry = cls.new(db_name)
291
295
# Check if the model caches must be invalidated (e.g. after a write
292
296
# occured on another process). Don't clear right after a registry
295
299
_logger.info("Invalidating all model caches after database signaling.")
297
301
registry.reset_any_cache_cleared()