Skip to content

Commit

Permalink
chore: reduce URL_EXPIRATION_TTL for dev and staging
Browse files Browse the repository at this point in the history
  • Loading branch information
ngshiheng committed Oct 5, 2022
1 parent e7ef0e5 commit 397444c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ kv_namespaces = [

[vars]
URL_CACHE = "apiCache"
URL_EXPIRATION_TTL = 86400
URL_EXPIRATION_TTL = 3600 # seconds

[dev]
ip = "0.0.0.0"
Expand All @@ -26,7 +26,7 @@ kv_namespaces = [
]
[env.staging.vars]
URL_CACHE = "apiCache"
URL_EXPIRATION_TTL = 86400
URL_EXPIRATION_TTL = 43200 # seconds


[env.production]
Expand All @@ -38,4 +38,4 @@ kv_namespaces = [
]
[env.production.vars]
URL_CACHE = "apiCache"
URL_EXPIRATION_TTL = 604800
URL_EXPIRATION_TTL = 604800 # seconds

0 comments on commit 397444c

Please sign in to comment.