diff --git a/package.json b/package.json index c635535..9527624 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ep_email_notifications", "description": "Subscribe to a pad and recieve an email when someone edits your pad", - "version": "0.0.4", + "version": "0.0.5", "author": { "name": "johnyma22", "email": "john@mclear.co.uk", diff --git a/update.js b/update.js index 28c6c96..ffcdb84 100644 --- a/update.js +++ b/update.js @@ -8,8 +8,8 @@ settings = require('../../src/node/utils/Settings'); // Settings -- EDIT THESE IN settings.json not here.. var pluginSettings = settings.ep_email_notifications; -var checkFrequency = pluginSettings.checkFrequency || 3000; -var staleTime = pluginSettings.staleTime || 30000; +var checkFrequency = pluginSettings.checkFrequency || 60000; // 10 seconds +var staleTime = pluginSettings.staleTime || 300000; // 5 minutes var fromName = pluginSettings.fromName || "Etherpad"; var fromEmail = pluginSettings.fromEmail || "pad@etherpad.org"; var urlToPads = pluginSettings.urlToPads || "http://beta.etherpad.org/p/";