Skip to content

Commit efa73c1

Browse files
committed
fix: Update JWK cooldown time to 0.5s
1 parent dde50e8 commit efa73c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

supertokens_python/recipe/session/constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333

3434
available_token_transfer_methods: List[TokenTransferMethod] = ["cookie", "header"]
3535

36-
JWKCacheMaxAgeInMs = 60 * 1000
37-
JWKRequestCooldownInMs = 500 * 1000
36+
JWKCacheMaxAgeInMs = 60 * 1000 # 1min
37+
JWKRequestCooldownInMs = 500 # 0.5s
3838
protected_props = [
3939
"sub",
4040
"iat",

0 commit comments

Comments
 (0)