{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/827","labels_url":"https://api.github.com/repos/meteor/meteor/issues/827/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/827/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/827/events","html_url":"https://github.com/meteor/meteor/issues/827","id":12060631,"number":827,"title":"Infinite reload when setting remote default connection","user":{"login":"raix","id":1136718,"avatar_url":"https://avatars.githubusercontent.com/u/1136718?v=3","gravatar_id":"","url":"https://api.github.com/users/raix","html_url":"https://github.com/raix","followers_url":"https://api.github.com/users/raix/followers","following_url":"https://api.github.com/users/raix/following{/other_user}","gists_url":"https://api.github.com/users/raix/gists{/gist_id}","starred_url":"https://api.github.com/users/raix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raix/subscriptions","organizations_url":"https://api.github.com/users/raix/orgs","repos_url":"https://api.github.com/users/raix/repos","events_url":"https://api.github.com/users/raix/events{/privacy}","received_events_url":"https://api.github.com/users/raix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-03-15T12:11:11Z","updated_at":"2015-03-28T17:13:05Z","closed_at":"2013-03-17T23:13:33Z","body":"I wanted to make an app that connected to a remote app - collections, methods and users - simply building smaller apps that interact via common data - So I figured should be possible to do something like:\r\n```js\r\n  _.extend(Meteor, {\r\n    default_connection: Meteor.connect('http://issue769.meteor.com/', true /* restart_on_update */),\r\n    refresh: function (notification) {}\r\n  });\r\n```\r\nIt kept reloading it self - kind of like when migrating so I tried changing it at server start:\r\n```\r\n$ DDP_DEFAULT_CONNECTION_URL=http://issue769.meteor.com/ meteor\r\n```\r\n*The address is just a simple app with a user login, dont mind the title*\r\n\r\nA more cleaner approach, but still refreshing, I can se that the `Meteor.connect` is set to `true` for restart on update.\r\nAs I can se scanning Meteor code, it only affects client side, but shouldn't it possible to do this? *Or am I missing out on somthing*"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/87270494","html_url":"https://github.com/meteor/meteor/issues/827#issuecomment-87270494","issue_url":"https://api.github.com/repos/meteor/meteor/issues/827","id":87270494,"user":{"login":"glasser","id":16724,"avatar_url":"https://avatars.githubusercontent.com/u/16724?v=3","gravatar_id":"","url":"https://api.github.com/users/glasser","html_url":"https://github.com/glasser","followers_url":"https://api.github.com/users/glasser/followers","following_url":"https://api.github.com/users/glasser/following{/other_user}","gists_url":"https://api.github.com/users/glasser/gists{/gist_id}","starred_url":"https://api.github.com/users/glasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glasser/subscriptions","organizations_url":"https://api.github.com/users/glasser/orgs","repos_url":"https://api.github.com/users/glasser/repos","events_url":"https://api.github.com/users/glasser/events{/privacy}","received_events_url":"https://api.github.com/users/glasser/received_events","type":"User","site_admin":false},"created_at":"2015-03-28T17:13:05Z","updated_at":"2015-03-28T17:13:05Z","body":"See https://github.com/meteor/meteor/issues/3815#issuecomment-77019985 for more details on DDP_DEFAULT_CONNECTION_URL. Short answer: it's not intended for this use case.  Use DDP.connect."}}