Vulcan/packages/telescope-core/lib/client/main.js
2015-09-23 15:43:22 +09:00

16 lines
No EOL
408 B
JavaScript

// Session variables
Session.set('appIsReady', false);
Meteor.startup(function () {
var link = {rel: "alternate", type: "application/rss+xml", href: "/feed.xml", title: i18n.t("new_posts")};
DocHead.addLink(link);
});
// Global Subscriptions
Telescope.subsManager = new SubsManager({
// cache recent 50 subscriptions
cacheLimit: 50,
// expire any subscription after 30 minutes
expireIn: 30
});