{"action":"created","comment":{"url":"https://api.github.com/repos/Tribler/tribler/pulls/comments/32107475","id":32107475,"diff_hunk":"@@ -166,40 +162,33 @@ def wrapper():\n         wrapper.__name__ = str(name)\n \n         if not self.onSameThread(workerType) or delay:\n+            task_name = uId","path":"Tribler/Main/Utility/GuiDBHandler.py","position":42,"original_position":42,"commit_id":"f2740e1589ccee2b63d04d3cc052ccfc895450f7","original_commit_id":"f2740e1589ccee2b63d04d3cc052ccfc895450f7","user":{"login":"NielsZeilemaker","id":3777585,"avatar_url":"https://avatars.githubusercontent.com/u/3777585?v=3","gravatar_id":"","url":"https://api.github.com/users/NielsZeilemaker","html_url":"https://github.com/NielsZeilemaker","followers_url":"https://api.github.com/users/NielsZeilemaker/followers","following_url":"https://api.github.com/users/NielsZeilemaker/following{/other_user}","gists_url":"https://api.github.com/users/NielsZeilemaker/gists{/gist_id}","starred_url":"https://api.github.com/users/NielsZeilemaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NielsZeilemaker/subscriptions","organizations_url":"https://api.github.com/users/NielsZeilemaker/orgs","repos_url":"https://api.github.com/users/NielsZeilemaker/repos","events_url":"https://api.github.com/users/NielsZeilemaker/events{/privacy}","received_events_url":"https://api.github.com/users/NielsZeilemaker/received_events","type":"User","site_admin":false},"body":"The add_task will generate a task_name if name is None, I guess this can be removed.","created_at":"2015-06-10T11:16:13Z","updated_at":"2015-06-10T11:16:13Z","html_url":"https://github.com/Tribler/tribler/pull/1461#discussion_r32107475","pull_request_url":"https://api.github.com/repos/Tribler/tribler/pulls/1461","_links":{"self":{"href":"https://api.github.com/repos/Tribler/tribler/pulls/comments/32107475"},"html":{"href":"https://github.com/Tribler/tribler/pull/1461#discussion_r32107475"},"pull_request":{"href":"https://api.github.com/repos/Tribler/tribler/pulls/1461"}}},"pull_request":{"url":"https://api.github.com/repos/Tribler/tribler/pulls/1461","id":37160835,"html_url":"https://github.com/Tribler/tribler/pull/1461","diff_url":"https://github.com/Tribler/tribler/pull/1461.diff","patch_url":"https://github.com/Tribler/tribler/pull/1461.patch","issue_url":"https://api.github.com/repos/Tribler/tribler/issues/1461","number":1461,"state":"open","locked":false,"title":"Kill custom threadpools","user":{"login":"whirm","id":529494,"avatar_url":"https://avatars.githubusercontent.com/u/529494?v=3","gravatar_id":"","url":"https://api.github.com/users/whirm","html_url":"https://github.com/whirm","followers_url":"https://api.github.com/users/whirm/followers","following_url":"https://api.github.com/users/whirm/following{/other_user}","gists_url":"https://api.github.com/users/whirm/gists{/gist_id}","starred_url":"https://api.github.com/users/whirm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whirm/subscriptions","organizations_url":"https://api.github.com/users/whirm/orgs","repos_url":"https://api.github.com/users/whirm/repos","events_url":"https://api.github.com/users/whirm/events{/privacy}","received_events_url":"https://api.github.com/users/whirm/received_events","type":"User","site_admin":false},"body":"WIP, do not merge yet","created_at":"2015-06-08T14:46:56Z","updated_at":"2015-06-10T11:16:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"936f77e96fb18e40829404afaa3004e622757154","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Tribler/tribler/pulls/1461/commits","review_comments_url":"https://api.github.com/repos/Tribler/tribler/pulls/1461/comments","review_comment_url":"https://api.github.com/repos/Tribler/tribler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Tribler/tribler/issues/1461/comments","statuses_url":"https://api.github.com/repos/Tribler/tribler/statuses/f2740e1589ccee2b63d04d3cc052ccfc895450f7","head":{"label":"whirm:kill_custom_threadpools","ref":"kill_custom_threadpools","sha":"f2740e1589ccee2b63d04d3cc052ccfc895450f7","user":{"login":"whirm","id":529494,"avatar_url":"https://avatars.githubusercontent.com/u/529494?v=3","gravatar_id":"","url":"https://api.github.com/users/whirm","html_url":"https://github.com/whirm","followers_url":"https://api.github.com/users/whirm/followers","following_url":"https://api.github.com/users/whirm/following{/other_user}","gists_url":"https://api.github.com/users/whirm/gists{/gist_id}","starred_url":"https://api.github.com/users/whirm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whirm/subscriptions","organizations_url":"https://api.github.com/users/whirm/orgs","repos_url":"https://api.github.com/users/whirm/repos","events_url":"https://api.github.com/users/whirm/events{/privacy}","received_events_url":"https://api.github.com/users/whirm/received_events","type":"User","site_admin":false},"repo":{"id":8650521,"name":"tribler","full_name":"whirm/tribler","owner":{"login":"whirm","id":529494,"avatar_url":"https://avatars.githubusercontent.com/u/529494?v=3","gravatar_id":"","url":"https://api.github.com/users/whirm","html_url":"https://github.com/whirm","followers_url":"https://api.github.com/users/whirm/followers","following_url":"https://api.github.com/users/whirm/following{/other_user}","gists_url":"https://api.github.com/users/whirm/gists{/gist_id}","starred_url":"https://api.github.com/users/whirm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whirm/subscriptions","organizations_url":"https://api.github.com/users/whirm/orgs","repos_url":"https://api.github.com/users/whirm/repos","events_url":"https://api.github.com/users/whirm/events{/privacy}","received_events_url":"https://api.github.com/users/whirm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/whirm/tribler","description":"","fork":true,"url":"https://api.github.com/repos/whirm/tribler","forks_url":"https://api.github.com/repos/whirm/tribler/forks","keys_url":"https://api.github.com/repos/whirm/tribler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whirm/tribler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whirm/tribler/teams","hooks_url":"https://api.github.com/repos/whirm/tribler/hooks","issue_events_url":"https://api.github.com/repos/whirm/tribler/issues/events{/number}","events_url":"https://api.github.com/repos/whirm/tribler/events","assignees_url":"https://api.github.com/repos/whirm/tribler/assignees{/user}","branches_url":"https://api.github.com/repos/whirm/tribler/branches{/branch}","tags_url":"https://api.github.com/repos/whirm/tribler/tags","blobs_url":"https://api.github.com/repos/whirm/tribler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whirm/tribler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whirm/tribler/git/refs{/sha}","trees_url":"https://api.github.com/repos/whirm/tribler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whirm/tribler/statuses/{sha}","languages_url":"https://api.github.com/repos/whirm/tribler/languages","stargazers_url":"https://api.github.com/repos/whirm/tribler/stargazers","contributors_url":"https://api.github.com/repos/whirm/tribler/contributors","subscribers_url":"https://api.github.com/repos/whirm/tribler/subscribers","subscription_url":"https://api.github.com/repos/whirm/tribler/subscription","commits_url":"https://api.github.com/repos/whirm/tribler/commits{/sha}","git_commits_url":"https://api.github.com/repos/whirm/tribler/git/commits{/sha}","comments_url":"https://api.github.com/repos/whirm/tribler/comments{/number}","issue_comment_url":"https://api.github.com/repos/whirm/tribler/issues/comments{/number}","contents_url":"https://api.github.com/repos/whirm/tribler/contents/{+path}","compare_url":"https://api.github.com/repos/whirm/tribler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whirm/tribler/merges","archive_url":"https://api.github.com/repos/whirm/tribler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whirm/tribler/downloads","issues_url":"https://api.github.com/repos/whirm/tribler/issues{/number}","pulls_url":"https://api.github.com/repos/whirm/tribler/pulls{/number}","milestones_url":"https://api.github.com/repos/whirm/tribler/milestones{/number}","notifications_url":"https://api.github.com/repos/whirm/tribler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whirm/tribler/labels{/name}","releases_url":"https://api.github.com/repos/whirm/tribler/releases{/id}","created_at":"2013-03-08T12:32:18Z","updated_at":"2014-06-13T19:22:19Z","pushed_at":"2015-06-10T10:42:37Z","git_url":"git://github.com/whirm/tribler.git","ssh_url":"git@github.com:whirm/tribler.git","clone_url":"https://github.com/whirm/tribler.git","svn_url":"https://github.com/whirm/tribler","homepage":"http://www.tribler.org","size":109658,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"Tribler:devel","ref":"devel","sha":"9426ecdb230cbdc8bcdaee1ad403376aac0be497","user":{"login":"Tribler","id":2913489,"avatar_url":"https://avatars.githubusercontent.com/u/2913489?v=3","gravatar_id":"","url":"https://api.github.com/users/Tribler","html_url":"https://github.com/Tribler","followers_url":"https://api.github.com/users/Tribler/followers","following_url":"https://api.github.com/users/Tribler/following{/other_user}","gists_url":"https://api.github.com/users/Tribler/gists{/gist_id}","starred_url":"https://api.github.com/users/Tribler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tribler/subscriptions","organizations_url":"https://api.github.com/users/Tribler/orgs","repos_url":"https://api.github.com/users/Tribler/repos","events_url":"https://api.github.com/users/Tribler/events{/privacy}","received_events_url":"https://api.github.com/users/Tribler/received_events","type":"Organization","site_admin":false},"repo":{"id":8411137,"name":"tribler","full_name":"Tribler/tribler","owner":{"login":"Tribler","id":2913489,"avatar_url":"https://avatars.githubusercontent.com/u/2913489?v=3","gravatar_id":"","url":"https://api.github.com/users/Tribler","html_url":"https://github.com/Tribler","followers_url":"https://api.github.com/users/Tribler/followers","following_url":"https://api.github.com/users/Tribler/following{/other_user}","gists_url":"https://api.github.com/users/Tribler/gists{/gist_id}","starred_url":"https://api.github.com/users/Tribler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tribler/subscriptions","organizations_url":"https://api.github.com/users/Tribler/orgs","repos_url":"https://api.github.com/users/Tribler/repos","events_url":"https://api.github.com/users/Tribler/events{/privacy}","received_events_url":"https://api.github.com/users/Tribler/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Tribler/tribler","description":"Privacy with BitTorrent and resilient to shut down","fork":false,"url":"https://api.github.com/repos/Tribler/tribler","forks_url":"https://api.github.com/repos/Tribler/tribler/forks","keys_url":"https://api.github.com/repos/Tribler/tribler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tribler/tribler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tribler/tribler/teams","hooks_url":"https://api.github.com/repos/Tribler/tribler/hooks","issue_events_url":"https://api.github.com/repos/Tribler/tribler/issues/events{/number}","events_url":"https://api.github.com/repos/Tribler/tribler/events","assignees_url":"https://api.github.com/repos/Tribler/tribler/assignees{/user}","branches_url":"https://api.github.com/repos/Tribler/tribler/branches{/branch}","tags_url":"https://api.github.com/repos/Tribler/tribler/tags","blobs_url":"https://api.github.com/repos/Tribler/tribler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tribler/tribler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tribler/tribler/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tribler/tribler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tribler/tribler/statuses/{sha}","languages_url":"https://api.github.com/repos/Tribler/tribler/languages","stargazers_url":"https://api.github.com/repos/Tribler/tribler/stargazers","contributors_url":"https://api.github.com/repos/Tribler/tribler/contributors","subscribers_url":"https://api.github.com/repos/Tribler/tribler/subscribers","subscription_url":"https://api.github.com/repos/Tribler/tribler/subscription","commits_url":"https://api.github.com/repos/Tribler/tribler/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tribler/tribler/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tribler/tribler/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tribler/tribler/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tribler/tribler/contents/{+path}","compare_url":"https://api.github.com/repos/Tribler/tribler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tribler/tribler/merges","archive_url":"https://api.github.com/repos/Tribler/tribler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tribler/tribler/downloads","issues_url":"https://api.github.com/repos/Tribler/tribler/issues{/number}","pulls_url":"https://api.github.com/repos/Tribler/tribler/pulls{/number}","milestones_url":"https://api.github.com/repos/Tribler/tribler/milestones{/number}","notifications_url":"https://api.github.com/repos/Tribler/tribler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tribler/tribler/labels{/name}","releases_url":"https://api.github.com/repos/Tribler/tribler/releases{/id}","created_at":"2013-02-25T14:51:58Z","updated_at":"2015-06-06T19:21:53Z","pushed_at":"2015-06-10T10:43:29Z","git_url":"git://github.com/Tribler/tribler.git","ssh_url":"git@github.com:Tribler/tribler.git","clone_url":"https://github.com/Tribler/tribler.git","svn_url":"https://github.com/Tribler/tribler","homepage":"http://www.tribler.org","size":121141,"stargazers_count":1640,"watchers_count":1640,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":146,"mirror_url":null,"open_issues_count":136,"forks":146,"open_issues":136,"watchers":1640,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/Tribler/tribler/pulls/1461"},"html":{"href":"https://github.com/Tribler/tribler/pull/1461"},"issue":{"href":"https://api.github.com/repos/Tribler/tribler/issues/1461"},"comments":{"href":"https://api.github.com/repos/Tribler/tribler/issues/1461/comments"},"review_comments":{"href":"https://api.github.com/repos/Tribler/tribler/pulls/1461/comments"},"review_comment":{"href":"https://api.github.com/repos/Tribler/tribler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Tribler/tribler/pulls/1461/commits"},"statuses":{"href":"https://api.github.com/repos/Tribler/tribler/statuses/f2740e1589ccee2b63d04d3cc052ccfc895450f7"}}}}