DEFAULT_SETTINGS

Constant DEFAULT_SETTINGS 

Source
pub const DEFAULT_SETTINGS: &str = "server_hostname = \"127.0.0.1:8000\"\napi_endpoint=\"http://localhost:8000/api\"\ninitialized = \"${TERRAPHIM_INITIALIZED:-false}\"\ndefault_data_path = \"${TERRAPHIM_DATA_PATH:-~/.terraphim}\"\n\n# 3-tier non-locking storage configuration for local development\n# - Memory: Ultra-fast cache for hot data\n# - SQLite: Persistent storage with concurrent access (WAL mode)\n# - DashMap: Development fallback with file persistence\n\n# Primary - Ultra-fast in-memory cache\n[profiles.memory]\ntype = \"memory\"\n\n# Secondary - Persistent with excellent concurrency (WAL mode)\n[profiles.sqlite]\ntype = \"sqlite\"\ndatadir = \"/tmp/terraphim_sqlite\"  # Directory auto-created\nconnection_string = \"/tmp/terraphim_sqlite/terraphim.db\"\ntable = \"terraphim_kv\"\n\n# Tertiary - Development fallback with concurrent access\n[profiles.dashmap]\ntype = \"dashmap\"\nroot = \"/tmp/terraphim_dashmap\"  # Directory auto-created\n\n# ReDB disabled for local development to avoid database locking issues\n# [profiles.redb]\n# type = \"redb\"\n# datadir = \"/tmp/terraphim_redb/local_dev.redb\"\n# table = \"terraphim\"\n";
Expand description

Default settings file