def METHOD_NAME(self):
    if self.inhibit_observer:
        return
    # Callback for postgres.ConnectionPool connection lost event.
    logger.info("Queueing discover refresh.")
    discover.defer(self.app)