{"action":"created","issue":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/2515","labels_url":"https://api.github.com/repos/syncthing/syncthing/issues/2515/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing/issues/2515/comments","events_url":"https://api.github.com/repos/syncthing/syncthing/issues/2515/events","html_url":"https://github.com/syncthing/syncthing/pull/2515","id":118928137,"number":2515,"title":"Enable GUI before initializing folders","user":{"login":"Zillode","id":14169,"avatar_url":"https://avatars.githubusercontent.com/u/14169?v=3","gravatar_id":"","url":"https://api.github.com/users/Zillode","html_url":"https://github.com/Zillode","followers_url":"https://api.github.com/users/Zillode/followers","following_url":"https://api.github.com/users/Zillode/following{/other_user}","gists_url":"https://api.github.com/users/Zillode/gists{/gist_id}","starred_url":"https://api.github.com/users/Zillode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zillode/subscriptions","organizations_url":"https://api.github.com/users/Zillode/orgs","repos_url":"https://api.github.com/users/Zillode/repos","events_url":"https://api.github.com/users/Zillode/events{/privacy}","received_events_url":"https://api.github.com/users/Zillode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-25T21:38:37Z","updated_at":"2015-11-25T21:44:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/syncthing/syncthing/pulls/2515","html_url":"https://github.com/syncthing/syncthing/pull/2515","diff_url":"https://github.com/syncthing/syncthing/pull/2515.diff","patch_url":"https://github.com/syncthing/syncthing/pull/2515.patch"},"body":"This patch activates the GUI/API before initializing the folders. It effectively reduces the 'Loading' dialog time on my Android device from 16s to 2s, without noticeable problems. This means the folder state is 'Unknown', however but all other data, including the device list and cpu usage is available without big delays."},"comment":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/comments/159737996","html_url":"https://github.com/syncthing/syncthing/pull/2515#issuecomment-159737996","issue_url":"https://api.github.com/repos/syncthing/syncthing/issues/2515","id":159737996,"user":{"login":"calmh","id":125426,"avatar_url":"https://avatars.githubusercontent.com/u/125426?v=3","gravatar_id":"","url":"https://api.github.com/users/calmh","html_url":"https://github.com/calmh","followers_url":"https://api.github.com/users/calmh/followers","following_url":"https://api.github.com/users/calmh/following{/other_user}","gists_url":"https://api.github.com/users/calmh/gists{/gist_id}","starred_url":"https://api.github.com/users/calmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calmh/subscriptions","organizations_url":"https://api.github.com/users/calmh/orgs","repos_url":"https://api.github.com/users/calmh/repos","events_url":"https://api.github.com/users/calmh/events{/privacy}","received_events_url":"https://api.github.com/users/calmh/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T21:44:33Z","updated_at":"2015-11-25T21:44:33Z","body":"I appreciate the generally positive thing with having the GUI up and running quicker though. Perhaps there is opportunity for the slow step (called from AddFolder) to be done in the background, and other operations on the folder simply block until it's complete, or something like that."}}