Skip to content

Commit af4708e

Browse files
Set stale time 24h
1 parent f508ba6 commit af4708e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend_py/primary/primary/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
}
3131

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

0 commit comments

Comments
 (0)