-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(anvil
): be able to specify a prefix path for temp disk storage
#3512
Comments
@mattsse PTAL^ |
Does this also concern the RPC cache dir @kahuang ? |
Anywhere that disk space can grow unbounded! |
Actually after reading the code, it seems like this always mounts at Not high pri IMO |
I need it too to be able to restart a session from a specific state. |
anvil
): be able to specify a prefix path for temp disk storage
@emilianobonassi this is possible in latest versions by using
https://book.getfoundry.sh/reference/anvil/ We're also going to look into implementing the original cache dir request |
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: