diff --git a/endpoints/web.py b/endpoints/web.py index f73b457e8..8c293d6b4 100644 --- a/endpoints/web.py +++ b/endpoints/web.py @@ -39,16 +39,9 @@ from util.useremails import send_email_changed -_route_data = None - @lru_cache(maxsize=1) def _get_route_data(): - global _route_data - if _route_data: - return _route_data - - _route_data = swagger_route_data(include_internal=True, compact=True) - return _route_data + return swagger_route_data(include_internal=True, compact=True) def render_page_template_with_routedata(name, *args, **kwargs):