From 4ccdca6dca7ce6e75540ac1867a6d6df81902c42 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Wed, 14 Nov 2018 22:48:49 -0800 Subject: [PATCH] Default channel-storage to database for new installs --- config.template.yaml | 8 +------- package.json | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/config.template.yaml b/config.template.yaml index b72384ed..6643eb8c 100644 --- a/config.template.yaml +++ b/config.template.yaml @@ -135,14 +135,8 @@ channel-blacklist: [] # Minutes between saving channel state to disk channel-save-interval: 5 # 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: - type: 'file' + type: 'database' # Configure periodic clearing of old alias data aliases: diff --git a/package.json b/package.json index ccc1b6e7..5b6f5749 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Calvin Montgomery", "name": "CyTube", "description": "Online media synchronizer and chat", - "version": "3.60.2", + "version": "3.61.0", "repository": { "url": "http://github.com/calzoneman/sync" },