You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am guessing updatePrimaryCacheValue is what acts as a proxy for cache.db (please correct me if I am wrong!)
If for some reason I don't use LiteFS as my main database (use something else e.g., other hosted SQLite, Postgres, etc.), but still use LiteFS only for caching purposes, do I still need to keep this proxy config in litefs.yml? If so, should I update it to look something like this?
proxy:
...db: '${CACHE_DATABASE_FILENAME}'
Or is it safe to delete this proxy config? I am not sure how this would affect Epic Stack setup, so any help is appreciated. Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was inspecting
litefs.yml
and it seemed to me that LiteFS can only proxy a single SQLite file:Here are some relevant links I found:
https://community.fly.io/t/litefs-multiple-databases/15595
https://community.fly.io/t/litefs-how-to-work-with-multiple-databases/15472
I am guessing
updatePrimaryCacheValue
is what acts as a proxy forcache.db
(please correct me if I am wrong!)If for some reason I don't use LiteFS as my main database (use something else e.g., other hosted SQLite, Postgres, etc.), but still use LiteFS only for caching purposes, do I still need to keep this
proxy
config inlitefs.yml
? If so, should I update it to look something like this?Or is it safe to delete this
proxy
config? I am not sure how this would affect Epic Stack setup, so any help is appreciated. Thanks!Beta Was this translation helpful? Give feedback.
All reactions