change timings to be more sane

This commit is contained in:
John McLear 2013-02-04 17:41:36 -08:00
parent cebbdddf66
commit 96bfff0636
2 changed files with 3 additions and 3 deletions

View file

@ -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",

View file

@ -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/";