From 6d3b3d36e987981bb485eb2db34697ecdfbd0066 Mon Sep 17 00:00:00 2001 From: Mattia Date: Fri, 24 Jan 2025 10:20:34 +0100 Subject: [PATCH] [Fixes #12828] New remote datasets are not registered inside proxy allowed hosts when GeoNode runs asynchoronously --- geonode/proxy/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/geonode/proxy/utils.py b/geonode/proxy/utils.py index 0f1b5cef77f..cae64946dee 100644 --- a/geonode/proxy/utils.py +++ b/geonode/proxy/utils.py @@ -35,10 +35,12 @@ def initialize(self): def set(self, hosts): self.proxy_allowed_hosts = set(hosts) + self._last_registry_load = now() return self def clear(self): self.proxy_allowed_hosts = set() + self._last_registry_load = now() return self def register_host(self, host):