Skip to content

Commit

Permalink
Merge d7606cd into c43c8ae
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaney committed Oct 29, 2020
2 parents c43c8ae + d7606cd commit 0c082f2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker/prod-values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ image:
memcached:
enabled: true
replicaCount: 2
command:
- "memcached"
- "-m"
- "256"
- "-o"
- "modern"
- "-v"
updateStrategy:
type: RollingUpdate
gcsCredentials:
Expand Down
3 changes: 3 additions & 0 deletions sis_provisioner/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ def get_cache_expiration_time(self, service, url, status=200):
return ONE_WEEK

if 'gws' == service:
if re.match(r'^/group_sws/v\d/group/u_somalt_', url):
return ONE_HOUR

if re.match(r'^/group_sws/v\d/group/{}/effective_member/'.format(
NONPERSONAL_NETID_EXCEPTION_GROUP), url):
return ONE_HOUR
Expand Down

0 comments on commit 0c082f2

Please sign in to comment.