Vulcan/packages/telescope-core/lib/client/main.js

16 lines
408 B
JavaScript
Raw Normal View History

// Session variables
2015-09-17 14:51:14 +09:00
Session.set('appIsReady', false);
2014-07-15 07:45:37 +09:00
Meteor.startup(function () {
2015-09-18 17:18:18 +09:00
var link = {rel: "alternate", type: "application/rss+xml", href: "/feed.xml", title: i18n.t("new_posts")};
DocHead.addLink(link);
2014-11-29 11:14:44 +09:00
});
2015-09-17 14:51:14 +09:00
// Global Subscriptions
2015-09-18 16:27:59 +09:00
Telescope.subsManager = new SubsManager({
// cache recent 50 subscriptions
cacheLimit: 50,
// expire any subscription after 30 minutes
expireIn: 30
2015-09-23 15:43:22 +09:00
});