change timings to be more sane
This commit is contained in:
parent
cebbdddf66
commit
96bfff0636
2 changed files with 3 additions and 3 deletions
|
@ -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",
|
||||
|
|
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue