mirror of
https://github.com/dylanbenzi/hurricane_normalization_app.git
synced 2026-07-29 21:01:27 +00:00
modify cache options to never invalidate
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ cache_logfile <- file.path(APP_DIR, "cachelog")
|
||||
|
||||
source(file = "queries.R")
|
||||
|
||||
shinyOptions(cache = cachem::cache_disk(dir = cache_dir, max_age = 86400, evict = "lru", logfile = cache_logfile))
|
||||
shinyOptions(cache = query_cache)
|
||||
|
||||
useShinyjs()
|
||||
|
||||
|
||||
+1
-1
@@ -627,7 +627,7 @@ if (!dir.exists(cache_dir)) {
|
||||
|
||||
query_cache <- cachem::cache_disk(
|
||||
dir = cache_dir,
|
||||
max_age = 86400, # 24 hours
|
||||
max_age = Inf,
|
||||
evict = "lru",
|
||||
logfile = cache_logfile
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user