{"action":"created","comment":{"url":"https://api.github.com/repos/democracyworks/scheduled-message-works/pulls/comments/82505769","pull_request_review_id":3411153,"id":82505769,"diff_hunk":"@@ -167,15 +186,18 @@\n   \"Hashes the identifiers and searches for that specific value\n   as :message-identifiers/combined-hash.\"\n   [db identifiers]\n-  (let [identifiers-hash (->identifiers-hash identifiers)\n-        entities\n-        (d/q '{:find [[?e ...]]\n-               :in [$ ?identifiers-hash]\n-               :where [[?e :message-identifiers/combined-hash ?identifiers-hash]]}\n-             db identifiers-hash)]\n-    (some->> entities\n-             first\n-             (d/entity db))))\n+  (try-try-again","path":"src/scheduled_message_works/entities/message.clj","position":137,"original_position":137,"commit_id":"9a7f77fe851f6129b529ddf9abacba44b226a625","original_commit_id":"9a7f77fe851f6129b529ddf9abacba44b226a625","user":{"login":"ddellacosta","id":32021,"avatar_url":"https://avatars.githubusercontent.com/u/32021?v=3","gravatar_id":"","url":"https://api.github.com/users/ddellacosta","html_url":"https://github.com/ddellacosta","followers_url":"https://api.github.com/users/ddellacosta/followers","following_url":"https://api.github.com/users/ddellacosta/following{/other_user}","gists_url":"https://api.github.com/users/ddellacosta/gists{/gist_id}","starred_url":"https://api.github.com/users/ddellacosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddellacosta/subscriptions","organizations_url":"https://api.github.com/users/ddellacosta/orgs","repos_url":"https://api.github.com/users/ddellacosta/repos","events_url":"https://api.github.com/users/ddellacosta/events{/privacy}","received_events_url":"https://api.github.com/users/ddellacosta/received_events","type":"User","site_admin":false},"body":"Why do we want this here if we already call `try-try-again` in the functions calling this (`update-message` and `schedule-message`, looks like)?","created_at":"2016-10-08T16:47:20Z","updated_at":"2016-10-08T16:55:27Z","html_url":"https://github.com/democracyworks/scheduled-message-works/pull/37#discussion_r82505769","pull_request_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/democracyworks/scheduled-message-works/pulls/comments/82505769"},"html":{"href":"https://github.com/democracyworks/scheduled-message-works/pull/37#discussion_r82505769"},"pull_request":{"href":"https://api.github.com/repos/democracyworks/scheduled-message-works/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/democracyworks/scheduled-message-works/pulls/37","id":88546850,"html_url":"https://github.com/democracyworks/scheduled-message-works/pull/37","diff_url":"https://github.com/democracyworks/scheduled-message-works/pull/37.diff","patch_url":"https://github.com/democracyworks/scheduled-message-works/pull/37.patch","issue_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/issues/37","number":37,"state":"open","locked":false,"title":"Add retries to all Datomic transactions and queries","user":{"login":"danielglauser","id":102263,"avatar_url":"https://avatars.githubusercontent.com/u/102263?v=3","gravatar_id":"","url":"https://api.github.com/users/danielglauser","html_url":"https://github.com/danielglauser","followers_url":"https://api.github.com/users/danielglauser/followers","following_url":"https://api.github.com/users/danielglauser/following{/other_user}","gists_url":"https://api.github.com/users/danielglauser/gists{/gist_id}","starred_url":"https://api.github.com/users/danielglauser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielglauser/subscriptions","organizations_url":"https://api.github.com/users/danielglauser/orgs","repos_url":"https://api.github.com/users/danielglauser/repos","events_url":"https://api.github.com/users/danielglauser/events{/privacy}","received_events_url":"https://api.github.com/users/danielglauser/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-08T14:03:59Z","updated_at":"2016-10-08T16:55:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7a525b78ad383b538b4f6b0270b05965b671823","assignee":{"login":"ddellacosta","id":32021,"avatar_url":"https://avatars.githubusercontent.com/u/32021?v=3","gravatar_id":"","url":"https://api.github.com/users/ddellacosta","html_url":"https://github.com/ddellacosta","followers_url":"https://api.github.com/users/ddellacosta/followers","following_url":"https://api.github.com/users/ddellacosta/following{/other_user}","gists_url":"https://api.github.com/users/ddellacosta/gists{/gist_id}","starred_url":"https://api.github.com/users/ddellacosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddellacosta/subscriptions","organizations_url":"https://api.github.com/users/ddellacosta/orgs","repos_url":"https://api.github.com/users/ddellacosta/repos","events_url":"https://api.github.com/users/ddellacosta/events{/privacy}","received_events_url":"https://api.github.com/users/ddellacosta/received_events","type":"User","site_admin":false},"assignees":[{"login":"ddellacosta","id":32021,"avatar_url":"https://avatars.githubusercontent.com/u/32021?v=3","gravatar_id":"","url":"https://api.github.com/users/ddellacosta","html_url":"https://github.com/ddellacosta","followers_url":"https://api.github.com/users/ddellacosta/followers","following_url":"https://api.github.com/users/ddellacosta/following{/other_user}","gists_url":"https://api.github.com/users/ddellacosta/gists{/gist_id}","starred_url":"https://api.github.com/users/ddellacosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddellacosta/subscriptions","organizations_url":"https://api.github.com/users/ddellacosta/orgs","repos_url":"https://api.github.com/users/ddellacosta/repos","events_url":"https://api.github.com/users/ddellacosta/events{/privacy}","received_events_url":"https://api.github.com/users/ddellacosta/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/pulls/37/commits","review_comments_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/pulls/37/comments","review_comment_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/pulls/comments{/number}","comments_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/issues/37/comments","statuses_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/statuses/9a7f77fe851f6129b529ddf9abacba44b226a625","head":{"label":"democracyworks:try-try-again","ref":"try-try-again","sha":"9a7f77fe851f6129b529ddf9abacba44b226a625","user":{"login":"democracyworks","id":1373557,"avatar_url":"https://avatars.githubusercontent.com/u/1373557?v=3","gravatar_id":"","url":"https://api.github.com/users/democracyworks","html_url":"https://github.com/democracyworks","followers_url":"https://api.github.com/users/democracyworks/followers","following_url":"https://api.github.com/users/democracyworks/following{/other_user}","gists_url":"https://api.github.com/users/democracyworks/gists{/gist_id}","starred_url":"https://api.github.com/users/democracyworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/democracyworks/subscriptions","organizations_url":"https://api.github.com/users/democracyworks/orgs","repos_url":"https://api.github.com/users/democracyworks/repos","events_url":"https://api.github.com/users/democracyworks/events{/privacy}","received_events_url":"https://api.github.com/users/democracyworks/received_events","type":"Organization","site_admin":false},"repo":{"id":38770693,"name":"scheduled-message-works","full_name":"democracyworks/scheduled-message-works","owner":{"login":"democracyworks","id":1373557,"avatar_url":"https://avatars.githubusercontent.com/u/1373557?v=3","gravatar_id":"","url":"https://api.github.com/users/democracyworks","html_url":"https://github.com/democracyworks","followers_url":"https://api.github.com/users/democracyworks/followers","following_url":"https://api.github.com/users/democracyworks/following{/other_user}","gists_url":"https://api.github.com/users/democracyworks/gists{/gist_id}","starred_url":"https://api.github.com/users/democracyworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/democracyworks/subscriptions","organizations_url":"https://api.github.com/users/democracyworks/orgs","repos_url":"https://api.github.com/users/democracyworks/repos","events_url":"https://api.github.com/users/democracyworks/events{/privacy}","received_events_url":"https://api.github.com/users/democracyworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/democracyworks/scheduled-message-works","description":"Schedule a time to send a message into a queue","fork":false,"url":"https://api.github.com/repos/democracyworks/scheduled-message-works","forks_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/forks","keys_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/keys{/key_id}","collaborators_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/teams","hooks_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/hooks","issue_events_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/issues/events{/number}","events_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/events","assignees_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/assignees{/user}","branches_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/branches{/branch}","tags_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/tags","blobs_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/git/refs{/sha}","trees_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/git/trees{/sha}","statuses_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/statuses/{sha}","languages_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/languages","stargazers_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/stargazers","contributors_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/contributors","subscribers_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/subscribers","subscription_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/subscription","commits_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/commits{/sha}","git_commits_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/git/commits{/sha}","comments_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/comments{/number}","issue_comment_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/issues/comments{/number}","contents_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/contents/{+path}","compare_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/compare/{base}...{head}","merges_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/merges","archive_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/downloads","issues_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/issues{/number}","pulls_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/pulls{/number}","milestones_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/milestones{/number}","notifications_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/labels{/name}","releases_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/releases{/id}","deployments_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/deployments","created_at":"2015-07-08T17:58:53Z","updated_at":"2016-06-01T13:55:32Z","pushed_at":"2016-10-08T14:04:00Z","git_url":"git://github.com/democracyworks/scheduled-message-works.git","ssh_url":"git@github.com:democracyworks/scheduled-message-works.git","clone_url":"https://github.com/democracyworks/scheduled-message-works.git","svn_url":"https://github.com/democracyworks/scheduled-message-works","homepage":"","size":144,"stargazers_count":1,"watchers_count":1,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"democracyworks:master","ref":"master","sha":"da888645798a583099698f073e2ccbea7eb5550d","user":{"login":"democracyworks","id":1373557,"avatar_url":"https://avatars.githubusercontent.com/u/1373557?v=3","gravatar_id":"","url":"https://api.github.com/users/democracyworks","html_url":"https://github.com/democracyworks","followers_url":"https://api.github.com/users/democracyworks/followers","following_url":"https://api.github.com/users/democracyworks/following{/other_user}","gists_url":"https://api.github.com/users/democracyworks/gists{/gist_id}","starred_url":"https://api.github.com/users/democracyworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/democracyworks/subscriptions","organizations_url":"https://api.github.com/users/democracyworks/orgs","repos_url":"https://api.github.com/users/democracyworks/repos","events_url":"https://api.github.com/users/democracyworks/events{/privacy}","received_events_url":"https://api.github.com/users/democracyworks/received_events","type":"Organization","site_admin":false},"repo":{"id":38770693,"name":"scheduled-message-works","full_name":"democracyworks/scheduled-message-works","owner":{"login":"democracyworks","id":1373557,"avatar_url":"https://avatars.githubusercontent.com/u/1373557?v=3","gravatar_id":"","url":"https://api.github.com/users/democracyworks","html_url":"https://github.com/democracyworks","followers_url":"https://api.github.com/users/democracyworks/followers","following_url":"https://api.github.com/users/democracyworks/following{/other_user}","gists_url":"https://api.github.com/users/democracyworks/gists{/gist_id}","starred_url":"https://api.github.com/users/democracyworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/democracyworks/subscriptions","organizations_url":"https://api.github.com/users/democracyworks/orgs","repos_url":"https://api.github.com/users/democracyworks/repos","events_url":"https://api.github.com/users/democracyworks/events{/privacy}","received_events_url":"https://api.github.com/users/democracyworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/democracyworks/scheduled-message-works","description":"Schedule a time to send a message into a queue","fork":false,"url":"https://api.github.com/repos/democracyworks/scheduled-message-works","forks_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/forks","keys_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/keys{/key_id}","collaborators_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/teams","hooks_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/hooks","issue_events_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/issues/events{/number}","events_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/events","assignees_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/assignees{/user}","branches_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/branches{/branch}","tags_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/tags","blobs_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/git/refs{/sha}","trees_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/git/trees{/sha}","statuses_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/statuses/{sha}","languages_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/languages","stargazers_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/stargazers","contributors_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/contributors","subscribers_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/subscribers","subscription_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/subscription","commits_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/commits{/sha}","git_commits_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/git/commits{/sha}","comments_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/comments{/number}","issue_comment_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/issues/comments{/number}","contents_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/contents/{+path}","compare_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/compare/{base}...{head}","merges_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/merges","archive_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/downloads","issues_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/issues{/number}","pulls_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/pulls{/number}","milestones_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/milestones{/number}","notifications_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/labels{/name}","releases_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/releases{/id}","deployments_url":"https://api.github.com/repos/democracyworks/scheduled-message-works/deployments","created_at":"2015-07-08T17:58:53Z","updated_at":"2016-06-01T13:55:32Z","pushed_at":"2016-10-08T14:04:00Z","git_url":"git://github.com/democracyworks/scheduled-message-works.git","ssh_url":"git@github.com:democracyworks/scheduled-message-works.git","clone_url":"https://github.com/democracyworks/scheduled-message-works.git","svn_url":"https://github.com/democracyworks/scheduled-message-works","homepage":"","size":144,"stargazers_count":1,"watchers_count":1,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/democracyworks/scheduled-message-works/pulls/37"},"html":{"href":"https://github.com/democracyworks/scheduled-message-works/pull/37"},"issue":{"href":"https://api.github.com/repos/democracyworks/scheduled-message-works/issues/37"},"comments":{"href":"https://api.github.com/repos/democracyworks/scheduled-message-works/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/democracyworks/scheduled-message-works/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/democracyworks/scheduled-message-works/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/democracyworks/scheduled-message-works/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/democracyworks/scheduled-message-works/statuses/9a7f77fe851f6129b529ddf9abacba44b226a625"}}}}
{"actor":{"display_login":"ddellacosta"}}