{"action":"opened","number":81,"pull_request":{"url":"https://api.github.com/repos/seamusabshere/upsert/pulls/81","id":86206824,"html_url":"https://github.com/seamusabshere/upsert/pull/81","diff_url":"https://github.com/seamusabshere/upsert/pull/81.diff","patch_url":"https://github.com/seamusabshere/upsert/pull/81.patch","issue_url":"https://api.github.com/repos/seamusabshere/upsert/issues/81","number":81,"state":"open","locked":false,"title":"Addressing some thread safety concerns.","user":{"login":"pnomolos","id":36223,"avatar_url":"https://avatars.githubusercontent.com/u/36223?v=3","gravatar_id":"","url":"https://api.github.com/users/pnomolos","html_url":"https://github.com/pnomolos","followers_url":"https://api.github.com/users/pnomolos/followers","following_url":"https://api.github.com/users/pnomolos/following{/other_user}","gists_url":"https://api.github.com/users/pnomolos/gists{/gist_id}","starred_url":"https://api.github.com/users/pnomolos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnomolos/subscriptions","organizations_url":"https://api.github.com/users/pnomolos/orgs","repos_url":"https://api.github.com/users/pnomolos/repos","events_url":"https://api.github.com/users/pnomolos/events{/privacy}","received_events_url":"https://api.github.com/users/pnomolos/received_events","type":"User","site_admin":false},"body":"- Fixed the spec so it's properly multi-threaded.  Previously the threads were being joined in the loop, so they were executing in serial.\r\n- Changed the default pool size to 20 so the threaded tests can run\r\n- Snychronized access to running the row function (so functions aren't simultaneously created)\r\n- Synchronized access to the row function cache\r\n- May fix https://github.com/seamusabshere/upsert/issues/72 - given that threading leads to random errors, it may or may not be the case.","created_at":"2016-09-21T17:29:14Z","updated_at":"2016-09-21T17:29:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"450bcccf899fd0b3b8bc4254df0d47f7ecc61cff","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/seamusabshere/upsert/pulls/81/commits","review_comments_url":"https://api.github.com/repos/seamusabshere/upsert/pulls/81/comments","review_comment_url":"https://api.github.com/repos/seamusabshere/upsert/pulls/comments{/number}","comments_url":"https://api.github.com/repos/seamusabshere/upsert/issues/81/comments","statuses_url":"https://api.github.com/repos/seamusabshere/upsert/statuses/38c3787674a102fefa4265b0b1067462ef9da787","head":{"label":"pnomolos:thread_safety","ref":"thread_safety","sha":"38c3787674a102fefa4265b0b1067462ef9da787","user":{"login":"pnomolos","id":36223,"avatar_url":"https://avatars.githubusercontent.com/u/36223?v=3","gravatar_id":"","url":"https://api.github.com/users/pnomolos","html_url":"https://github.com/pnomolos","followers_url":"https://api.github.com/users/pnomolos/followers","following_url":"https://api.github.com/users/pnomolos/following{/other_user}","gists_url":"https://api.github.com/users/pnomolos/gists{/gist_id}","starred_url":"https://api.github.com/users/pnomolos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnomolos/subscriptions","organizations_url":"https://api.github.com/users/pnomolos/orgs","repos_url":"https://api.github.com/users/pnomolos/repos","events_url":"https://api.github.com/users/pnomolos/events{/privacy}","received_events_url":"https://api.github.com/users/pnomolos/received_events","type":"User","site_admin":false},"repo":{"id":10702167,"name":"upsert","full_name":"pnomolos/upsert","owner":{"login":"pnomolos","id":36223,"avatar_url":"https://avatars.githubusercontent.com/u/36223?v=3","gravatar_id":"","url":"https://api.github.com/users/pnomolos","html_url":"https://github.com/pnomolos","followers_url":"https://api.github.com/users/pnomolos/followers","following_url":"https://api.github.com/users/pnomolos/following{/other_user}","gists_url":"https://api.github.com/users/pnomolos/gists{/gist_id}","starred_url":"https://api.github.com/users/pnomolos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnomolos/subscriptions","organizations_url":"https://api.github.com/users/pnomolos/orgs","repos_url":"https://api.github.com/users/pnomolos/repos","events_url":"https://api.github.com/users/pnomolos/events{/privacy}","received_events_url":"https://api.github.com/users/pnomolos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pnomolos/upsert","description":"Upsert on MySQL, PostgreSQL, and SQLite3. Transparently creates merge functions for MySQL and PostgreSQL; on SQLite3, uses INSERT OR IGNORE.","fork":true,"url":"https://api.github.com/repos/pnomolos/upsert","forks_url":"https://api.github.com/repos/pnomolos/upsert/forks","keys_url":"https://api.github.com/repos/pnomolos/upsert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pnomolos/upsert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pnomolos/upsert/teams","hooks_url":"https://api.github.com/repos/pnomolos/upsert/hooks","issue_events_url":"https://api.github.com/repos/pnomolos/upsert/issues/events{/number}","events_url":"https://api.github.com/repos/pnomolos/upsert/events","assignees_url":"https://api.github.com/repos/pnomolos/upsert/assignees{/user}","branches_url":"https://api.github.com/repos/pnomolos/upsert/branches{/branch}","tags_url":"https://api.github.com/repos/pnomolos/upsert/tags","blobs_url":"https://api.github.com/repos/pnomolos/upsert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pnomolos/upsert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pnomolos/upsert/git/refs{/sha}","trees_url":"https://api.github.com/repos/pnomolos/upsert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pnomolos/upsert/statuses/{sha}","languages_url":"https://api.github.com/repos/pnomolos/upsert/languages","stargazers_url":"https://api.github.com/repos/pnomolos/upsert/stargazers","contributors_url":"https://api.github.com/repos/pnomolos/upsert/contributors","subscribers_url":"https://api.github.com/repos/pnomolos/upsert/subscribers","subscription_url":"https://api.github.com/repos/pnomolos/upsert/subscription","commits_url":"https://api.github.com/repos/pnomolos/upsert/commits{/sha}","git_commits_url":"https://api.github.com/repos/pnomolos/upsert/git/commits{/sha}","comments_url":"https://api.github.com/repos/pnomolos/upsert/comments{/number}","issue_comment_url":"https://api.github.com/repos/pnomolos/upsert/issues/comments{/number}","contents_url":"https://api.github.com/repos/pnomolos/upsert/contents/{+path}","compare_url":"https://api.github.com/repos/pnomolos/upsert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pnomolos/upsert/merges","archive_url":"https://api.github.com/repos/pnomolos/upsert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pnomolos/upsert/downloads","issues_url":"https://api.github.com/repos/pnomolos/upsert/issues{/number}","pulls_url":"https://api.github.com/repos/pnomolos/upsert/pulls{/number}","milestones_url":"https://api.github.com/repos/pnomolos/upsert/milestones{/number}","notifications_url":"https://api.github.com/repos/pnomolos/upsert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pnomolos/upsert/labels{/name}","releases_url":"https://api.github.com/repos/pnomolos/upsert/releases{/id}","deployments_url":"https://api.github.com/repos/pnomolos/upsert/deployments","created_at":"2013-06-15T04:37:53Z","updated_at":"2016-09-19T17:25:26Z","pushed_at":"2016-09-21T17:26:18Z","git_url":"git://github.com/pnomolos/upsert.git","ssh_url":"git@github.com:pnomolos/upsert.git","clone_url":"https://github.com/pnomolos/upsert.git","svn_url":"https://github.com/pnomolos/upsert","homepage":"","size":337,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"seamusabshere:master","ref":"master","sha":"1d26591ca0236aa153c1d7be4dcc8eeb2121c15e","user":{"login":"seamusabshere","id":15787,"avatar_url":"https://avatars.githubusercontent.com/u/15787?v=3","gravatar_id":"","url":"https://api.github.com/users/seamusabshere","html_url":"https://github.com/seamusabshere","followers_url":"https://api.github.com/users/seamusabshere/followers","following_url":"https://api.github.com/users/seamusabshere/following{/other_user}","gists_url":"https://api.github.com/users/seamusabshere/gists{/gist_id}","starred_url":"https://api.github.com/users/seamusabshere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seamusabshere/subscriptions","organizations_url":"https://api.github.com/users/seamusabshere/orgs","repos_url":"https://api.github.com/users/seamusabshere/repos","events_url":"https://api.github.com/users/seamusabshere/events{/privacy}","received_events_url":"https://api.github.com/users/seamusabshere/received_events","type":"User","site_admin":false},"repo":{"id":4645789,"name":"upsert","full_name":"seamusabshere/upsert","owner":{"login":"seamusabshere","id":15787,"avatar_url":"https://avatars.githubusercontent.com/u/15787?v=3","gravatar_id":"","url":"https://api.github.com/users/seamusabshere","html_url":"https://github.com/seamusabshere","followers_url":"https://api.github.com/users/seamusabshere/followers","following_url":"https://api.github.com/users/seamusabshere/following{/other_user}","gists_url":"https://api.github.com/users/seamusabshere/gists{/gist_id}","starred_url":"https://api.github.com/users/seamusabshere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seamusabshere/subscriptions","organizations_url":"https://api.github.com/users/seamusabshere/orgs","repos_url":"https://api.github.com/users/seamusabshere/repos","events_url":"https://api.github.com/users/seamusabshere/events{/privacy}","received_events_url":"https://api.github.com/users/seamusabshere/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seamusabshere/upsert","description":"Upsert on MySQL, PostgreSQL, and SQLite3. Transparently creates functions (UDF) for MySQL and PostgreSQL; on SQLite3, uses INSERT OR IGNORE.","fork":false,"url":"https://api.github.com/repos/seamusabshere/upsert","forks_url":"https://api.github.com/repos/seamusabshere/upsert/forks","keys_url":"https://api.github.com/repos/seamusabshere/upsert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seamusabshere/upsert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seamusabshere/upsert/teams","hooks_url":"https://api.github.com/repos/seamusabshere/upsert/hooks","issue_events_url":"https://api.github.com/repos/seamusabshere/upsert/issues/events{/number}","events_url":"https://api.github.com/repos/seamusabshere/upsert/events","assignees_url":"https://api.github.com/repos/seamusabshere/upsert/assignees{/user}","branches_url":"https://api.github.com/repos/seamusabshere/upsert/branches{/branch}","tags_url":"https://api.github.com/repos/seamusabshere/upsert/tags","blobs_url":"https://api.github.com/repos/seamusabshere/upsert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seamusabshere/upsert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seamusabshere/upsert/git/refs{/sha}","trees_url":"https://api.github.com/repos/seamusabshere/upsert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seamusabshere/upsert/statuses/{sha}","languages_url":"https://api.github.com/repos/seamusabshere/upsert/languages","stargazers_url":"https://api.github.com/repos/seamusabshere/upsert/stargazers","contributors_url":"https://api.github.com/repos/seamusabshere/upsert/contributors","subscribers_url":"https://api.github.com/repos/seamusabshere/upsert/subscribers","subscription_url":"https://api.github.com/repos/seamusabshere/upsert/subscription","commits_url":"https://api.github.com/repos/seamusabshere/upsert/commits{/sha}","git_commits_url":"https://api.github.com/repos/seamusabshere/upsert/git/commits{/sha}","comments_url":"https://api.github.com/repos/seamusabshere/upsert/comments{/number}","issue_comment_url":"https://api.github.com/repos/seamusabshere/upsert/issues/comments{/number}","contents_url":"https://api.github.com/repos/seamusabshere/upsert/contents/{+path}","compare_url":"https://api.github.com/repos/seamusabshere/upsert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seamusabshere/upsert/merges","archive_url":"https://api.github.com/repos/seamusabshere/upsert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seamusabshere/upsert/downloads","issues_url":"https://api.github.com/repos/seamusabshere/upsert/issues{/number}","pulls_url":"https://api.github.com/repos/seamusabshere/upsert/pulls{/number}","milestones_url":"https://api.github.com/repos/seamusabshere/upsert/milestones{/number}","notifications_url":"https://api.github.com/repos/seamusabshere/upsert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seamusabshere/upsert/labels{/name}","releases_url":"https://api.github.com/repos/seamusabshere/upsert/releases{/id}","deployments_url":"https://api.github.com/repos/seamusabshere/upsert/deployments","created_at":"2012-06-13T03:15:00Z","updated_at":"2016-09-13T22:49:02Z","pushed_at":"2016-09-21T17:29:14Z","git_url":"git://github.com/seamusabshere/upsert.git","ssh_url":"git@github.com:seamusabshere/upsert.git","clone_url":"https://github.com/seamusabshere/upsert.git","svn_url":"https://github.com/seamusabshere/upsert","homepage":"","size":336,"stargazers_count":474,"watchers_count":474,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":40,"forks":58,"open_issues":40,"watchers":474,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/seamusabshere/upsert/pulls/81"},"html":{"href":"https://github.com/seamusabshere/upsert/pull/81"},"issue":{"href":"https://api.github.com/repos/seamusabshere/upsert/issues/81"},"comments":{"href":"https://api.github.com/repos/seamusabshere/upsert/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/seamusabshere/upsert/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/seamusabshere/upsert/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/seamusabshere/upsert/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/seamusabshere/upsert/statuses/38c3787674a102fefa4265b0b1067462ef9da787"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":111,"deletions":78,"changed_files":3}}
{"actor":{"display_login":"pnomolos"}}