Skip to content

Commit

Permalink
fix(performance):Improve performance of /settings/ endpoint (#2201)
Browse files Browse the repository at this point in the history
No-Issue

(cherry picked from commit cdc5b81)
  • Loading branch information
rochacbruno authored and patchback[bot] committed Jul 26, 2024
1 parent 1322bf8 commit 03122fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion galaxy_ng/app/api/ui/views/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ def get(self, request, *args, **kwargs):
"GALAXY_LDAP_DISABLE_REFERRALS",
"KEYCLOAK_URL",
]
data = {key: settings.as_dict().get(key, None) for key in keyset}
settings_dict = settings.as_dict()
data = {key: settings_dict.get(key, None) for key in keyset}
return Response(data)

0 comments on commit 03122fa

Please sign in to comment.