{"action":"closed","issue":{"url":"https://api.github.com/repos/Alidron/spyrk/issues/7","repository_url":"https://api.github.com/repos/Alidron/spyrk","labels_url":"https://api.github.com/repos/Alidron/spyrk/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Alidron/spyrk/issues/7/comments","events_url":"https://api.github.com/repos/Alidron/spyrk/issues/7/events","html_url":"https://github.com/Alidron/spyrk/issues/7","id":136960754,"number":7,"title":"Add timeout for requests in case server does not respond","user":{"login":"zxymark221","id":16725757,"avatar_url":"https://avatars.githubusercontent.com/u/16725757?v=3","gravatar_id":"","url":"https://api.github.com/users/zxymark221","html_url":"https://github.com/zxymark221","followers_url":"https://api.github.com/users/zxymark221/followers","following_url":"https://api.github.com/users/zxymark221/following{/other_user}","gists_url":"https://api.github.com/users/zxymark221/gists{/gist_id}","starred_url":"https://api.github.com/users/zxymark221/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxymark221/subscriptions","organizations_url":"https://api.github.com/users/zxymark221/orgs","repos_url":"https://api.github.com/users/zxymark221/repos","events_url":"https://api.github.com/users/zxymark221/events{/privacy}","received_events_url":"https://api.github.com/users/zxymark221/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-27T19:52:58Z","updated_at":"2016-02-27T22:37:43Z","closed_at":"2016-02-27T22:37:43Z","body":"When using Particle Photon/Core for data logging, namely reading I/O pins based on certain interval, sometimes my program just hangs there: no new data reading and also no exception. The reason is because right now in spark_cloud, no timeout is specified for RESTful request. "}}