{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/ktonon/aws-swf/pulls/1","id":84669008,"html_url":"https://github.com/ktonon/aws-swf/pull/1","diff_url":"https://github.com/ktonon/aws-swf/pull/1.diff","patch_url":"https://github.com/ktonon/aws-swf/pull/1.patch","issue_url":"https://api.github.com/repos/ktonon/aws-swf/issues/1","number":1,"state":"open","locked":false,"title":"Bug/task poll increase frequency","user":{"login":"MichaelKovalchuk","id":18428968,"avatar_url":"https://avatars.githubusercontent.com/u/18428968?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelKovalchuk","html_url":"https://github.com/MichaelKovalchuk","followers_url":"https://api.github.com/users/MichaelKovalchuk/followers","following_url":"https://api.github.com/users/MichaelKovalchuk/following{/other_user}","gists_url":"https://api.github.com/users/MichaelKovalchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelKovalchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelKovalchuk/subscriptions","organizations_url":"https://api.github.com/users/MichaelKovalchuk/orgs","repos_url":"https://api.github.com/users/MichaelKovalchuk/repos","events_url":"https://api.github.com/users/MichaelKovalchuk/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelKovalchuk/received_events","type":"User","site_admin":false},"body":"I created the PR on the master as well. \r\nThe problem was with resume. Resume was called from queue.drain and we didn't check if the poller was paused. I don't think we should start a new poller if the previous is still running. The code was tested locally couple of times. ","created_at":"2016-09-09T15:20:04Z","updated_at":"2016-09-09T15:20:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ktonon/aws-swf/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ktonon/aws-swf/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ktonon/aws-swf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ktonon/aws-swf/issues/1/comments","statuses_url":"https://api.github.com/repos/ktonon/aws-swf/statuses/6b985861060f55a61eeaabaf1eb5d7c78042a543","head":{"label":"MichaelKovalchuk:bug/task-poll-increase-frequency","ref":"bug/task-poll-increase-frequency","sha":"6b985861060f55a61eeaabaf1eb5d7c78042a543","user":{"login":"MichaelKovalchuk","id":18428968,"avatar_url":"https://avatars.githubusercontent.com/u/18428968?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelKovalchuk","html_url":"https://github.com/MichaelKovalchuk","followers_url":"https://api.github.com/users/MichaelKovalchuk/followers","following_url":"https://api.github.com/users/MichaelKovalchuk/following{/other_user}","gists_url":"https://api.github.com/users/MichaelKovalchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelKovalchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelKovalchuk/subscriptions","organizations_url":"https://api.github.com/users/MichaelKovalchuk/orgs","repos_url":"https://api.github.com/users/MichaelKovalchuk/repos","events_url":"https://api.github.com/users/MichaelKovalchuk/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelKovalchuk/received_events","type":"User","site_admin":false},"repo":{"id":67806950,"name":"aws-swf","full_name":"MichaelKovalchuk/aws-swf","owner":{"login":"MichaelKovalchuk","id":18428968,"avatar_url":"https://avatars.githubusercontent.com/u/18428968?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelKovalchuk","html_url":"https://github.com/MichaelKovalchuk","followers_url":"https://api.github.com/users/MichaelKovalchuk/followers","following_url":"https://api.github.com/users/MichaelKovalchuk/following{/other_user}","gists_url":"https://api.github.com/users/MichaelKovalchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelKovalchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelKovalchuk/subscriptions","organizations_url":"https://api.github.com/users/MichaelKovalchuk/orgs","repos_url":"https://api.github.com/users/MichaelKovalchuk/repos","events_url":"https://api.github.com/users/MichaelKovalchuk/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelKovalchuk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MichaelKovalchuk/aws-swf","description":"Node.js helpers to access the Amazon SWF API","fork":true,"url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf","forks_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/forks","keys_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/teams","hooks_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/hooks","issue_events_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/issues/events{/number}","events_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/events","assignees_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/assignees{/user}","branches_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/branches{/branch}","tags_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/tags","blobs_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/git/refs{/sha}","trees_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/statuses/{sha}","languages_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/languages","stargazers_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/stargazers","contributors_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/contributors","subscribers_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/subscribers","subscription_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/subscription","commits_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/commits{/sha}","git_commits_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/git/commits{/sha}","comments_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/comments{/number}","issue_comment_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/issues/comments{/number}","contents_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/contents/{+path}","compare_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/merges","archive_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/downloads","issues_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/issues{/number}","pulls_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/pulls{/number}","milestones_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/milestones{/number}","notifications_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/labels{/name}","releases_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/releases{/id}","deployments_url":"https://api.github.com/repos/MichaelKovalchuk/aws-swf/deployments","created_at":"2016-09-09T14:43:35Z","updated_at":"2016-09-09T14:43:36Z","pushed_at":"2016-09-09T15:16:55Z","git_url":"git://github.com/MichaelKovalchuk/aws-swf.git","ssh_url":"git@github.com:MichaelKovalchuk/aws-swf.git","clone_url":"https://github.com/MichaelKovalchuk/aws-swf.git","svn_url":"https://github.com/MichaelKovalchuk/aws-swf","homepage":null,"size":32866,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ktonon:master","ref":"master","sha":"31422192826e152f954a0242955139bbcba9f3f5","user":{"login":"ktonon","id":22655,"avatar_url":"https://avatars.githubusercontent.com/u/22655?v=3","gravatar_id":"","url":"https://api.github.com/users/ktonon","html_url":"https://github.com/ktonon","followers_url":"https://api.github.com/users/ktonon/followers","following_url":"https://api.github.com/users/ktonon/following{/other_user}","gists_url":"https://api.github.com/users/ktonon/gists{/gist_id}","starred_url":"https://api.github.com/users/ktonon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktonon/subscriptions","organizations_url":"https://api.github.com/users/ktonon/orgs","repos_url":"https://api.github.com/users/ktonon/repos","events_url":"https://api.github.com/users/ktonon/events{/privacy}","received_events_url":"https://api.github.com/users/ktonon/received_events","type":"User","site_admin":false},"repo":{"id":65908790,"name":"aws-swf","full_name":"ktonon/aws-swf","owner":{"login":"ktonon","id":22655,"avatar_url":"https://avatars.githubusercontent.com/u/22655?v=3","gravatar_id":"","url":"https://api.github.com/users/ktonon","html_url":"https://github.com/ktonon","followers_url":"https://api.github.com/users/ktonon/followers","following_url":"https://api.github.com/users/ktonon/following{/other_user}","gists_url":"https://api.github.com/users/ktonon/gists{/gist_id}","starred_url":"https://api.github.com/users/ktonon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktonon/subscriptions","organizations_url":"https://api.github.com/users/ktonon/orgs","repos_url":"https://api.github.com/users/ktonon/repos","events_url":"https://api.github.com/users/ktonon/events{/privacy}","received_events_url":"https://api.github.com/users/ktonon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ktonon/aws-swf","description":"Node.js helpers to access the Amazon SWF API","fork":true,"url":"https://api.github.com/repos/ktonon/aws-swf","forks_url":"https://api.github.com/repos/ktonon/aws-swf/forks","keys_url":"https://api.github.com/repos/ktonon/aws-swf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ktonon/aws-swf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ktonon/aws-swf/teams","hooks_url":"https://api.github.com/repos/ktonon/aws-swf/hooks","issue_events_url":"https://api.github.com/repos/ktonon/aws-swf/issues/events{/number}","events_url":"https://api.github.com/repos/ktonon/aws-swf/events","assignees_url":"https://api.github.com/repos/ktonon/aws-swf/assignees{/user}","branches_url":"https://api.github.com/repos/ktonon/aws-swf/branches{/branch}","tags_url":"https://api.github.com/repos/ktonon/aws-swf/tags","blobs_url":"https://api.github.com/repos/ktonon/aws-swf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ktonon/aws-swf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ktonon/aws-swf/git/refs{/sha}","trees_url":"https://api.github.com/repos/ktonon/aws-swf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ktonon/aws-swf/statuses/{sha}","languages_url":"https://api.github.com/repos/ktonon/aws-swf/languages","stargazers_url":"https://api.github.com/repos/ktonon/aws-swf/stargazers","contributors_url":"https://api.github.com/repos/ktonon/aws-swf/contributors","subscribers_url":"https://api.github.com/repos/ktonon/aws-swf/subscribers","subscription_url":"https://api.github.com/repos/ktonon/aws-swf/subscription","commits_url":"https://api.github.com/repos/ktonon/aws-swf/commits{/sha}","git_commits_url":"https://api.github.com/repos/ktonon/aws-swf/git/commits{/sha}","comments_url":"https://api.github.com/repos/ktonon/aws-swf/comments{/number}","issue_comment_url":"https://api.github.com/repos/ktonon/aws-swf/issues/comments{/number}","contents_url":"https://api.github.com/repos/ktonon/aws-swf/contents/{+path}","compare_url":"https://api.github.com/repos/ktonon/aws-swf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ktonon/aws-swf/merges","archive_url":"https://api.github.com/repos/ktonon/aws-swf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ktonon/aws-swf/downloads","issues_url":"https://api.github.com/repos/ktonon/aws-swf/issues{/number}","pulls_url":"https://api.github.com/repos/ktonon/aws-swf/pulls{/number}","milestones_url":"https://api.github.com/repos/ktonon/aws-swf/milestones{/number}","notifications_url":"https://api.github.com/repos/ktonon/aws-swf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ktonon/aws-swf/labels{/name}","releases_url":"https://api.github.com/repos/ktonon/aws-swf/releases{/id}","deployments_url":"https://api.github.com/repos/ktonon/aws-swf/deployments","created_at":"2016-08-17T13:13:59Z","updated_at":"2016-08-17T13:14:00Z","pushed_at":"2016-09-09T15:20:04Z","git_url":"git://github.com/ktonon/aws-swf.git","ssh_url":"git@github.com:ktonon/aws-swf.git","clone_url":"https://github.com/ktonon/aws-swf.git","svn_url":"https://github.com/ktonon/aws-swf","homepage":null,"size":32847,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ktonon/aws-swf/pulls/1"},"html":{"href":"https://github.com/ktonon/aws-swf/pull/1"},"issue":{"href":"https://api.github.com/repos/ktonon/aws-swf/issues/1"},"comments":{"href":"https://api.github.com/repos/ktonon/aws-swf/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ktonon/aws-swf/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ktonon/aws-swf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ktonon/aws-swf/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ktonon/aws-swf/statuses/6b985861060f55a61eeaabaf1eb5d7c78042a543"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":11,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"MichaelKovalchuk"}}