{"action":"created","issue":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/3001","repository_url":"https://api.github.com/repos/syncthing/syncthing","labels_url":"https://api.github.com/repos/syncthing/syncthing/issues/3001/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing/issues/3001/comments","events_url":"https://api.github.com/repos/syncthing/syncthing/issues/3001/events","html_url":"https://github.com/syncthing/syncthing/issues/3001","id":150339870,"number":3001,"title":"Paused/resume device API calls can hang for long periods","user":{"login":"canton7","id":568104,"avatar_url":"https://avatars.githubusercontent.com/u/568104?v=3","gravatar_id":"","url":"https://api.github.com/users/canton7","html_url":"https://github.com/canton7","followers_url":"https://api.github.com/users/canton7/followers","following_url":"https://api.github.com/users/canton7/following{/other_user}","gists_url":"https://api.github.com/users/canton7/gists{/gist_id}","starred_url":"https://api.github.com/users/canton7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canton7/subscriptions","organizations_url":"https://api.github.com/users/canton7/orgs","repos_url":"https://api.github.com/users/canton7/repos","events_url":"https://api.github.com/users/canton7/events{/privacy}","received_events_url":"https://api.github.com/users/canton7/received_events","type":"User","site_admin":false},"labels":[{"id":67767665,"url":"https://api.github.com/repos/syncthing/syncthing/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/syncthing/syncthing/milestones/11","html_url":"https://github.com/syncthing/syncthing/milestone/11","labels_url":"https://api.github.com/repos/syncthing/syncthing/milestones/11/labels","id":1479707,"number":11,"title":"Unplanned (Contributions Welcome)","description":"Issues that no-one is currently working on or has the intention to work on anytime soon. We welcome any and all help with resolving these issues.","creator":{"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},"open_issues":177,"closed_issues":83,"state":"open","created_at":"2016-01-01T11:33:57Z","updated_at":"2016-12-21T21:16:50Z","due_on":null,"closed_at":null},"comments":23,"created_at":"2016-04-22T11:03:52Z","updated_at":"2016-12-26T13:18:41Z","closed_at":"2016-11-23T13:26:37Z","body":"I've had an issue reported (https://github.com/canton7/SyncTrayzor/issues/252) where calls to `/rest/system/resume` and `/rest/system/pause` can sometimes hang (for more than 90 seconds, at which point I time out). It appears to happen unpredictably.\n\nIt appears that the device in question is never actually paused/resumed, although I'm not 100% sure of that.\n\nI notice that `PauseDevice` and `ResumeDevice` both [acquire a lock](https://github.com/syncthing/syncthing/blob/ea54525a33e4d59be1025d740da6c23c069913ea/lib/model/model.go#L1069) - maybe something's holding this for an extended period?\n\nSyncthing version v0.12.22, Windows.\n"},"comment":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/comments/269210739","html_url":"https://github.com/syncthing/syncthing/issues/3001#issuecomment-269210739","issue_url":"https://api.github.com/repos/syncthing/syncthing/issues/3001","id":269210739,"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":"2016-12-26T13:18:41Z","updated_at":"2016-12-26T13:18:41Z","body":"How was this addressed by this change?"}}
{"actor":{"display_login":"calmh"}}