{"action":"closed","issue":{"url":"https://api.github.com/repos/stomp-php/stomp-php/issues/41","repository_url":"https://api.github.com/repos/stomp-php/stomp-php","labels_url":"https://api.github.com/repos/stomp-php/stomp-php/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/stomp-php/stomp-php/issues/41/comments","events_url":"https://api.github.com/repos/stomp-php/stomp-php/issues/41/events","html_url":"https://github.com/stomp-php/stomp-php/issues/41","id":131750583,"number":41,"title":"Exists a way to set the read timeout in a StatefulConnection?","user":{"login":"surrealcristian","id":2937280,"avatar_url":"https://avatars.githubusercontent.com/u/2937280?v=3","gravatar_id":"","url":"https://api.github.com/users/surrealcristian","html_url":"https://github.com/surrealcristian","followers_url":"https://api.github.com/users/surrealcristian/followers","following_url":"https://api.github.com/users/surrealcristian/following{/other_user}","gists_url":"https://api.github.com/users/surrealcristian/gists{/gist_id}","starred_url":"https://api.github.com/users/surrealcristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surrealcristian/subscriptions","organizations_url":"https://api.github.com/users/surrealcristian/orgs","repos_url":"https://api.github.com/users/surrealcristian/repos","events_url":"https://api.github.com/users/surrealcristian/events{/privacy}","received_events_url":"https://api.github.com/users/surrealcristian/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-05T20:43:41Z","updated_at":"2016-02-05T21:36:55Z","closed_at":"2016-02-05T21:36:55Z","body":"Hello everyone:\r\n\r\nI'm extracting elements from a queue, calling the method `read` from a `StatefulConnection` instance.\r\n\r\nWhen the queue becomes empty, my script keeps waiting 60 seconds, until the `read` method returns false.\r\n\r\nIn https://github.com/stomp-php/stomp-php/blob/master/src/Stomp/Network/Connection.php#L55, i see a read timeout of 60 seconds, hardcoded.\r\n\r\nExists a way to set or configure the read timeout in a StatefulConnection?\r\nIf not, is possible implement it?\r\n\r\nThanks!"}}