mirror of
https://github.com/koodiklinikka/koodiklinikka.fi-api.git
synced 2026-03-05 17:00:19 +00:00
update feeds more often
This commit is contained in:
@@ -10,7 +10,7 @@ module.exports = function (app) {
|
||||
* GET /feeds
|
||||
* Endpoint for fetching different information feeds (Twitter, GitHub etc.)
|
||||
*/
|
||||
app.get('/feeds', cache('3 hours'), function(req, res, next) {
|
||||
app.get('/feeds', cache('10 minutes'), function(req, res, next) {
|
||||
Promise.props({
|
||||
twitter: twitter.getTweets(20),
|
||||
github: github.getEvents(20)
|
||||
|
||||
Reference in New Issue
Block a user