turned off config file reloading by default

This commit is contained in:
Gareth Jones
2011-07-27 21:21:43 +10:00
parent 4f7d73bc97
commit d13b2fb3b4
2 changed files with 6 additions and 5 deletions

View File

@@ -326,7 +326,7 @@ function initReloadConfiguration(filename, options) {
function configure (configurationFileOrObject, options) {
var config = configurationFileOrObject;
if (config === undefined || config === null || typeof(config) === 'string') {
options = options || { reloadSecs: 60 };
options = options || { };
if (options.reloadSecs) {
initReloadConfiguration(config, options);
}