{"action":"created","comment":{"url":"https://api.github.com/repos/seomoz/qless/pulls/comments/24950684","id":24950684,"diff_hunk":"@@ -50,11 +50,17 @@ def initialize(reserver, options = {})\n       # USR1: Kill the forked children immediately, continue processing jobs.\n       # USR2: Pause after this job\n       # CONT: Start processing jobs again after a USR2\n+      #  HUP: Print current stack to log and continue\n       def register_signal_handlers\n         # Otherwise, we want to take the appropriate action\n         trap('TERM') { exit! }\n         trap('INT')  { exit! }\n         begin\n+          trap('HUP') { log_stack_trace }\n+        rescue ArgumentError\n+          warn 'Signal HUL not supported.'","path":"lib/qless/worker/base.rb","position":12,"original_position":12,"commit_id":"a0181fad13e613341415398ea9e1c55daab435c3","original_commit_id":"a0181fad13e613341415398ea9e1c55daab435c3","user":{"login":"vadim-moz","id":9726922,"avatar_url":"https://avatars.githubusercontent.com/u/9726922?v=3","gravatar_id":"","url":"https://api.github.com/users/vadim-moz","html_url":"https://github.com/vadim-moz","followers_url":"https://api.github.com/users/vadim-moz/followers","following_url":"https://api.github.com/users/vadim-moz/following{/other_user}","gists_url":"https://api.github.com/users/vadim-moz/gists{/gist_id}","starred_url":"https://api.github.com/users/vadim-moz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vadim-moz/subscriptions","organizations_url":"https://api.github.com/users/vadim-moz/orgs","repos_url":"https://api.github.com/users/vadim-moz/repos","events_url":"https://api.github.com/users/vadim-moz/events{/privacy}","received_events_url":"https://api.github.com/users/vadim-moz/received_events","type":"User","site_admin":false},"body":"done","created_at":"2015-02-18T23:10:15Z","updated_at":"2015-02-18T23:10:15Z","html_url":"https://github.com/seomoz/qless/pull/212#discussion_r24950684","pull_request_url":"https://api.github.com/repos/seomoz/qless/pulls/212","_links":{"self":{"href":"https://api.github.com/repos/seomoz/qless/pulls/comments/24950684"},"html":{"href":"https://github.com/seomoz/qless/pull/212#discussion_r24950684"},"pull_request":{"href":"https://api.github.com/repos/seomoz/qless/pulls/212"}}},"pull_request":{"url":"https://api.github.com/repos/seomoz/qless/pulls/212","id":29563858,"html_url":"https://github.com/seomoz/qless/pull/212","diff_url":"https://github.com/seomoz/qless/pull/212.diff","patch_url":"https://github.com/seomoz/qless/pull/212.patch","issue_url":"https://api.github.com/repos/seomoz/qless/issues/212","number":212,"state":"open","locked":false,"title":"dump current stack to the log on SIGHUP","user":{"login":"vadim-moz","id":9726922,"avatar_url":"https://avatars.githubusercontent.com/u/9726922?v=3","gravatar_id":"","url":"https://api.github.com/users/vadim-moz","html_url":"https://github.com/vadim-moz","followers_url":"https://api.github.com/users/vadim-moz/followers","following_url":"https://api.github.com/users/vadim-moz/following{/other_user}","gists_url":"https://api.github.com/users/vadim-moz/gists{/gist_id}","starred_url":"https://api.github.com/users/vadim-moz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vadim-moz/subscriptions","organizations_url":"https://api.github.com/users/vadim-moz/orgs","repos_url":"https://api.github.com/users/vadim-moz/repos","events_url":"https://api.github.com/users/vadim-moz/events{/privacy}","received_events_url":"https://api.github.com/users/vadim-moz/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-18T21:17:16Z","updated_at":"2015-02-18T23:10:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2f2700d6016138dd6ae8589a799802f4509eed79","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/seomoz/qless/pulls/212/commits","review_comments_url":"https://api.github.com/repos/seomoz/qless/pulls/212/comments","review_comment_url":"https://api.github.com/repos/seomoz/qless/pulls/comments/{number}","comments_url":"https://api.github.com/repos/seomoz/qless/issues/212/comments","statuses_url":"https://api.github.com/repos/seomoz/qless/statuses/a0181fad13e613341415398ea9e1c55daab435c3","head":{"label":"seomoz:vadim/signal","ref":"vadim/signal","sha":"a0181fad13e613341415398ea9e1c55daab435c3","user":{"login":"seomoz","id":104895,"avatar_url":"https://avatars.githubusercontent.com/u/104895?v=3","gravatar_id":"","url":"https://api.github.com/users/seomoz","html_url":"https://github.com/seomoz","followers_url":"https://api.github.com/users/seomoz/followers","following_url":"https://api.github.com/users/seomoz/following{/other_user}","gists_url":"https://api.github.com/users/seomoz/gists{/gist_id}","starred_url":"https://api.github.com/users/seomoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seomoz/subscriptions","organizations_url":"https://api.github.com/users/seomoz/orgs","repos_url":"https://api.github.com/users/seomoz/repos","events_url":"https://api.github.com/users/seomoz/events{/privacy}","received_events_url":"https://api.github.com/users/seomoz/received_events","type":"Organization","site_admin":false},"repo":{"id":3587103,"name":"qless","full_name":"seomoz/qless","owner":{"login":"seomoz","id":104895,"avatar_url":"https://avatars.githubusercontent.com/u/104895?v=3","gravatar_id":"","url":"https://api.github.com/users/seomoz","html_url":"https://github.com/seomoz","followers_url":"https://api.github.com/users/seomoz/followers","following_url":"https://api.github.com/users/seomoz/following{/other_user}","gists_url":"https://api.github.com/users/seomoz/gists{/gist_id}","starred_url":"https://api.github.com/users/seomoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seomoz/subscriptions","organizations_url":"https://api.github.com/users/seomoz/orgs","repos_url":"https://api.github.com/users/seomoz/repos","events_url":"https://api.github.com/users/seomoz/events{/privacy}","received_events_url":"https://api.github.com/users/seomoz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seomoz/qless","description":"Queue / Pipeline Management","fork":false,"url":"https://api.github.com/repos/seomoz/qless","forks_url":"https://api.github.com/repos/seomoz/qless/forks","keys_url":"https://api.github.com/repos/seomoz/qless/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seomoz/qless/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seomoz/qless/teams","hooks_url":"https://api.github.com/repos/seomoz/qless/hooks","issue_events_url":"https://api.github.com/repos/seomoz/qless/issues/events{/number}","events_url":"https://api.github.com/repos/seomoz/qless/events","assignees_url":"https://api.github.com/repos/seomoz/qless/assignees{/user}","branches_url":"https://api.github.com/repos/seomoz/qless/branches{/branch}","tags_url":"https://api.github.com/repos/seomoz/qless/tags","blobs_url":"https://api.github.com/repos/seomoz/qless/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seomoz/qless/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seomoz/qless/git/refs{/sha}","trees_url":"https://api.github.com/repos/seomoz/qless/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seomoz/qless/statuses/{sha}","languages_url":"https://api.github.com/repos/seomoz/qless/languages","stargazers_url":"https://api.github.com/repos/seomoz/qless/stargazers","contributors_url":"https://api.github.com/repos/seomoz/qless/contributors","subscribers_url":"https://api.github.com/repos/seomoz/qless/subscribers","subscription_url":"https://api.github.com/repos/seomoz/qless/subscription","commits_url":"https://api.github.com/repos/seomoz/qless/commits{/sha}","git_commits_url":"https://api.github.com/repos/seomoz/qless/git/commits{/sha}","comments_url":"https://api.github.com/repos/seomoz/qless/comments{/number}","issue_comment_url":"https://api.github.com/repos/seomoz/qless/issues/comments/{number}","contents_url":"https://api.github.com/repos/seomoz/qless/contents/{+path}","compare_url":"https://api.github.com/repos/seomoz/qless/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seomoz/qless/merges","archive_url":"https://api.github.com/repos/seomoz/qless/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seomoz/qless/downloads","issues_url":"https://api.github.com/repos/seomoz/qless/issues{/number}","pulls_url":"https://api.github.com/repos/seomoz/qless/pulls{/number}","milestones_url":"https://api.github.com/repos/seomoz/qless/milestones{/number}","notifications_url":"https://api.github.com/repos/seomoz/qless/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seomoz/qless/labels{/name}","releases_url":"https://api.github.com/repos/seomoz/qless/releases{/id}","created_at":"2012-02-29T23:42:36Z","updated_at":"2015-02-12T22:49:18Z","pushed_at":"2015-02-18T21:15:58Z","git_url":"git://github.com/seomoz/qless.git","ssh_url":"git@github.com:seomoz/qless.git","clone_url":"https://github.com/seomoz/qless.git","svn_url":"https://github.com/seomoz/qless","homepage":"","size":3084,"stargazers_count":220,"watchers_count":220,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":51,"forks":40,"open_issues":51,"watchers":220,"default_branch":"master"}},"base":{"label":"seomoz:master","ref":"master","sha":"1bac5fc61aef8721c1911b362348df5bb8dd14bd","user":{"login":"seomoz","id":104895,"avatar_url":"https://avatars.githubusercontent.com/u/104895?v=3","gravatar_id":"","url":"https://api.github.com/users/seomoz","html_url":"https://github.com/seomoz","followers_url":"https://api.github.com/users/seomoz/followers","following_url":"https://api.github.com/users/seomoz/following{/other_user}","gists_url":"https://api.github.com/users/seomoz/gists{/gist_id}","starred_url":"https://api.github.com/users/seomoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seomoz/subscriptions","organizations_url":"https://api.github.com/users/seomoz/orgs","repos_url":"https://api.github.com/users/seomoz/repos","events_url":"https://api.github.com/users/seomoz/events{/privacy}","received_events_url":"https://api.github.com/users/seomoz/received_events","type":"Organization","site_admin":false},"repo":{"id":3587103,"name":"qless","full_name":"seomoz/qless","owner":{"login":"seomoz","id":104895,"avatar_url":"https://avatars.githubusercontent.com/u/104895?v=3","gravatar_id":"","url":"https://api.github.com/users/seomoz","html_url":"https://github.com/seomoz","followers_url":"https://api.github.com/users/seomoz/followers","following_url":"https://api.github.com/users/seomoz/following{/other_user}","gists_url":"https://api.github.com/users/seomoz/gists{/gist_id}","starred_url":"https://api.github.com/users/seomoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seomoz/subscriptions","organizations_url":"https://api.github.com/users/seomoz/orgs","repos_url":"https://api.github.com/users/seomoz/repos","events_url":"https://api.github.com/users/seomoz/events{/privacy}","received_events_url":"https://api.github.com/users/seomoz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seomoz/qless","description":"Queue / Pipeline Management","fork":false,"url":"https://api.github.com/repos/seomoz/qless","forks_url":"https://api.github.com/repos/seomoz/qless/forks","keys_url":"https://api.github.com/repos/seomoz/qless/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seomoz/qless/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seomoz/qless/teams","hooks_url":"https://api.github.com/repos/seomoz/qless/hooks","issue_events_url":"https://api.github.com/repos/seomoz/qless/issues/events{/number}","events_url":"https://api.github.com/repos/seomoz/qless/events","assignees_url":"https://api.github.com/repos/seomoz/qless/assignees{/user}","branches_url":"https://api.github.com/repos/seomoz/qless/branches{/branch}","tags_url":"https://api.github.com/repos/seomoz/qless/tags","blobs_url":"https://api.github.com/repos/seomoz/qless/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seomoz/qless/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seomoz/qless/git/refs{/sha}","trees_url":"https://api.github.com/repos/seomoz/qless/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seomoz/qless/statuses/{sha}","languages_url":"https://api.github.com/repos/seomoz/qless/languages","stargazers_url":"https://api.github.com/repos/seomoz/qless/stargazers","contributors_url":"https://api.github.com/repos/seomoz/qless/contributors","subscribers_url":"https://api.github.com/repos/seomoz/qless/subscribers","subscription_url":"https://api.github.com/repos/seomoz/qless/subscription","commits_url":"https://api.github.com/repos/seomoz/qless/commits{/sha}","git_commits_url":"https://api.github.com/repos/seomoz/qless/git/commits{/sha}","comments_url":"https://api.github.com/repos/seomoz/qless/comments{/number}","issue_comment_url":"https://api.github.com/repos/seomoz/qless/issues/comments/{number}","contents_url":"https://api.github.com/repos/seomoz/qless/contents/{+path}","compare_url":"https://api.github.com/repos/seomoz/qless/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seomoz/qless/merges","archive_url":"https://api.github.com/repos/seomoz/qless/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seomoz/qless/downloads","issues_url":"https://api.github.com/repos/seomoz/qless/issues{/number}","pulls_url":"https://api.github.com/repos/seomoz/qless/pulls{/number}","milestones_url":"https://api.github.com/repos/seomoz/qless/milestones{/number}","notifications_url":"https://api.github.com/repos/seomoz/qless/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seomoz/qless/labels{/name}","releases_url":"https://api.github.com/repos/seomoz/qless/releases{/id}","created_at":"2012-02-29T23:42:36Z","updated_at":"2015-02-12T22:49:18Z","pushed_at":"2015-02-18T21:15:58Z","git_url":"git://github.com/seomoz/qless.git","ssh_url":"git@github.com:seomoz/qless.git","clone_url":"https://github.com/seomoz/qless.git","svn_url":"https://github.com/seomoz/qless","homepage":"","size":3084,"stargazers_count":220,"watchers_count":220,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":51,"forks":40,"open_issues":51,"watchers":220,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/seomoz/qless/pulls/212"},"html":{"href":"https://github.com/seomoz/qless/pull/212"},"issue":{"href":"https://api.github.com/repos/seomoz/qless/issues/212"},"comments":{"href":"https://api.github.com/repos/seomoz/qless/issues/212/comments"},"review_comments":{"href":"https://api.github.com/repos/seomoz/qless/pulls/212/comments"},"review_comment":{"href":"https://api.github.com/repos/seomoz/qless/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/seomoz/qless/pulls/212/commits"},"statuses":{"href":"https://api.github.com/repos/seomoz/qless/statuses/a0181fad13e613341415398ea9e1c55daab435c3"}}}}