From b68ed4d77a38634e5e0fe2f514e6e141c09a5bc6 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Wed, 5 Dec 2018 21:55:44 -0800 Subject: [PATCH] Set purge interval to 1 hour --- package.json | 2 +- src/bgtask.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 270f61e6..788437f4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Calvin Montgomery", "name": "CyTube", "description": "Online media synchronizer and chat", - "version": "3.62.1", + "version": "3.63.0", "repository": { "url": "http://github.com/calzoneman/sync" }, diff --git a/src/bgtask.js b/src/bgtask.js index f27b03a1..75564715 100644 --- a/src/bgtask.js +++ b/src/bgtask.js @@ -89,8 +89,7 @@ function initAccountCleanup() { })().catch(error => { LOGGER.error('Error purging deleted accounts: %s', error.stack); }); - //}, 3600 * 1000); - }, 60 * 1000); + }, 3600 * 1000); } module.exports = function (Server) {