Default channel-storage to database for new installs

This commit is contained in:
Calvin Montgomery 2018-11-14 22:48:49 -08:00
parent bfff2900ca
commit 4ccdca6dca
2 changed files with 2 additions and 8 deletions

View file

@ -135,14 +135,8 @@ channel-blacklist: []
# Minutes between saving channel state to disk # Minutes between saving channel state to disk
channel-save-interval: 5 channel-save-interval: 5
# Determines channel data storage mechanism. # Determines channel data storage mechanism.
# Defaults to 'file', in which channel data is JSON stringified and saved to a file
# in the `chandump/` folder. This is the legacy behavior of CyTube.
# The other possible option is 'database', in which case each key-value pair of
# channel data is stored as a row in the `channel_data` database table.
# To migrate legacy chandump files to the database, shut down CyTube (to prevent
# concurrent updates), then run `node lib/channel-storage/migrate.js`.
channel-storage: channel-storage:
type: 'file' type: 'database'
# Configure periodic clearing of old alias data # Configure periodic clearing of old alias data
aliases: aliases:

View file

@ -2,7 +2,7 @@
"author": "Calvin Montgomery", "author": "Calvin Montgomery",
"name": "CyTube", "name": "CyTube",
"description": "Online media synchronizer and chat", "description": "Online media synchronizer and chat",
"version": "3.60.2", "version": "3.61.0",
"repository": { "repository": {
"url": "http://github.com/calzoneman/sync" "url": "http://github.com/calzoneman/sync"
}, },