Skip to content

Commit

Permalink
Enable Gafaelfawr caching for Butler server
Browse files Browse the repository at this point in the history
Butler clients often make large numbers of small requests using the same access token.  Enabling this cache avoids hitting the Gafaelfawr service repeatedly for these requests, reducing load on the service and improving request latency.
  • Loading branch information
dhirving committed Nov 22, 2024
1 parent 96b6970 commit af87f57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions applications/butler/templates/ingress-authenticated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ metadata:
labels:
{{- include "butler.labels" . | nindent 4 }}
config:
# The Butler server often services large numbers of small requests,
# so this cache reduces the load on Gafaelfawr.
authCacheDuration: 5m
baseUrl: {{ .Values.global.baseUrl | quote }}
scopes:
all:
Expand Down

0 comments on commit af87f57

Please sign in to comment.