From fa3bdc9fed0a98581ea454a6e84920162fe165e7 Mon Sep 17 00:00:00 2001 From: Jessica Cheng Date: Tue, 30 Jul 2024 12:03:05 -0400 Subject: [PATCH] Delete and decrease hardcoded timeout --- portal-backend/depmap/public/views.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/portal-backend/depmap/public/views.py b/portal-backend/depmap/public/views.py index 602f982f..d341cdd0 100644 --- a/portal-backend/depmap/public/views.py +++ b/portal-backend/depmap/public/views.py @@ -143,9 +143,7 @@ def documentation(): @blueprint.route("/resources_prototype/") -@cache_without_user_permissions( - timeout=1000 -) # arbitrarily set timeout to longer than default 300s +@cache_without_user_permissions() # default timeout 300s def resources_prototype(): forum_api_key_value = current_app.config.get("FORUM_API_KEY") forum_url = current_app.config.get("FORUM_URL")