Skip to content

Commit

Permalink
Set stale time 24h
Browse files Browse the repository at this point in the history
  • Loading branch information
HansKallekleiv committed Jan 30, 2025
1 parent f508ba6 commit af4708e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend_py/primary/primary/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
}

DEFAULT_CACHE_MAX_AGE = 3600 # 1 hour
DEFAULT_STALE_WHILE_REVALIDATE = 3600 # 1 hour
DEFAULT_STALE_WHILE_REVALIDATE = 3600 * 24 # 24 hour
REDIS_USER_SESSION_URL = "redis://redis-user-session:6379"
REDIS_CACHE_URL = "redis://redis-cache:6379"

0 comments on commit af4708e

Please sign in to comment.