Skip to content

Conversation

@xiaokangwang
Copy link
Contributor

This merge request add persistent storage support for V2Ray. This would allow client and server to save state at provided location. Currently this is implemented using plain file.

To add a file system based storage, add the following to the service section of the config:

    "filesystemstorage": {
      "state_storage_root": "WorkDir",
      "instance_name": "inst0",
      "protojson": false
    }

Currently backgroundObservatory supports save observation result so that the remote server status would outlive server restart.

@xiaokangwang xiaokangwang merged commit 78cd513 into v2fly:master Feb 5, 2025
41 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant