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
When anvil state grows, it persists it temporarily to disk. I'd like to be able to specify a prefix path for the directory that gets created by anvil for this state.
Additional context
I am running Anvil in the cloud, and want to attach a persistent disk to the instance and mount it at the path anvil will use for storing state. Because it's a random directory each time, there's no way for me to programatically mount my disk at that location before anvil starts.
The text was updated successfully, but these errors were encountered:
Actually after reading the code, it seems like this always mounts at /tmp then generate a random filename.Although it may be nice to be able to specify a dir specifically for this data: https://docs.rs/tempdir/latest/tempdir/struct.TempDir.html
zerosnacks
changed the title
Be able to specify a prefix path for temp disk storage
feat(anvil): be able to specify a prefix path for temp disk storage
Aug 23, 2024
Component
Anvil
Describe the feature you would like
When anvil state grows, it persists it temporarily to disk. I'd like to be able to specify a prefix path for the directory that gets created by anvil for this state.
Additional context
I am running Anvil in the cloud, and want to attach a persistent disk to the instance and mount it at the path anvil will use for storing state. Because it's a random directory each time, there's no way for me to programatically mount my disk at that location before anvil starts.
The text was updated successfully, but these errors were encountered: