Skip to content

Commit

Permalink
Decreased the notifications time on screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Nouzbe committed Aug 16, 2015
1 parent 23c294c commit 572b119
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ var app = angular.module('sample-app', ['ngResource', 'ngRoute', 'ngSanitize', '
}).
otherwise({redirectTo: "/somethingthatdoesnotexist"});

growlProvider.globalTimeToLive(10000);
growlProvider.globalTimeToLive(8000);
growlProvider.globalEnableHtml(true);
}]);
3 changes: 2 additions & 1 deletion configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
"resave": true,
"saveUninitialized": true,
"secret": "bamtechnologies"
}
},
"port": 3000
}
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ app.get('*', function (req, res) {
});

// Once set up, the server should listen to the given port.
app.listen(3000, function() {
app.listen(configUtil.get('port'), function() {
console.log('I\'m listening.');
// reloading the configuration every minute
setInterval(function() {
configUtil.loadConfig();
}, 60*1000);
}, 5*60*1000);
})

0 comments on commit 572b119

Please sign in to comment.