Skip to content

Commit b3e20cd

Browse files
committed
chore: change default storage type to memory
Memory backend with JSON export is now the default, making the extension work out-of-the-box without requiring database setup.
1 parent cfaa1e2 commit b3e20cd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func Load(configDir string) error {
4444
viper.SetDefault("logio.port", "28777")
4545

4646
// Storage backend defaults
47-
viper.SetDefault("storage.type", "postgres")
47+
viper.SetDefault("storage.type", "memory")
4848
viper.SetDefault("storage.memory.outputDir", "./recordings")
4949
viper.SetDefault("storage.memory.compressOutput", true)
5050

ocap-recorder.cfg.json.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"org": "ocap-metrics"
2323
},
2424
"storage": {
25-
"type": "postgres",
25+
"type": "memory",
2626
"memory": {
2727
"outputDir": "./recordings",
2828
"compressOutput": true

0 commit comments

Comments
 (0)