{"action":"created","comment":{"url":"https://api.github.com/repos/sgrove/dato/pulls/comments/40223487","id":40223487,"diff_hunk":"@@ -116,13 +113,31 @@\n         (casync/alt!\n           tx-ch ([tx-report]\n                  (println \"TX-Broadcast Datoms:\")\n-                 (broadcast-tx! dato-server @all-sessions tx-report)\n+                 (broadcast-tx! tal-state session-store tx-report)\n                  (recur))\n           stop-ch ([]\n                    (println \"Exiting tx-broadcast go-loop\")\n                    (casync/untap tx-mult tx-ch)))))\n     stop-ch))\n \n+(defn handle-websocket-msg-dispatch [tal-state dato-config session-store msg] (:op msg))\n+(defmulti handle-websocket-msg #'handle-websocket-msg-dispatch)","path":"src/dato/lib/server.clj","position":129,"original_position":129,"commit_id":"6fe3985d6f599cfc57684d0fdfc0944ad8323b7b","original_commit_id":"6fe3985d6f599cfc57684d0fdfc0944ad8323b7b","user":{"login":"sgrove","id":35296,"avatar_url":"https://avatars.githubusercontent.com/u/35296?v=3","gravatar_id":"","url":"https://api.github.com/users/sgrove","html_url":"https://github.com/sgrove","followers_url":"https://api.github.com/users/sgrove/followers","following_url":"https://api.github.com/users/sgrove/following{/other_user}","gists_url":"https://api.github.com/users/sgrove/gists{/gist_id}","starred_url":"https://api.github.com/users/sgrove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgrove/subscriptions","organizations_url":"https://api.github.com/users/sgrove/orgs","repos_url":"https://api.github.com/users/sgrove/repos","events_url":"https://api.github.com/users/sgrove/events{/privacy}","received_events_url":"https://api.github.com/users/sgrove/received_events","type":"User","site_admin":false},"body":"Is this a var during your dev, or is it redefined enough that it should be a var in production?","created_at":"2015-09-23T16:14:19Z","updated_at":"2015-09-23T16:14:19Z","html_url":"https://github.com/sgrove/dato/pull/21#discussion_r40223487","pull_request_url":"https://api.github.com/repos/sgrove/dato/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/sgrove/dato/pulls/comments/40223487"},"html":{"href":"https://github.com/sgrove/dato/pull/21#discussion_r40223487"},"pull_request":{"href":"https://api.github.com/repos/sgrove/dato/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/sgrove/dato/pulls/21","id":45732888,"html_url":"https://github.com/sgrove/dato/pull/21","diff_url":"https://github.com/sgrove/dato/pull/21.diff","patch_url":"https://github.com/sgrove/dato/pull/21.patch","issue_url":"https://api.github.com/repos/sgrove/dato/issues/21","number":21,"state":"open","locked":false,"title":"Use talaria for client-server communication","user":{"login":"dwwoelfel","id":476818,"avatar_url":"https://avatars.githubusercontent.com/u/476818?v=3","gravatar_id":"","url":"https://api.github.com/users/dwwoelfel","html_url":"https://github.com/dwwoelfel","followers_url":"https://api.github.com/users/dwwoelfel/followers","following_url":"https://api.github.com/users/dwwoelfel/following{/other_user}","gists_url":"https://api.github.com/users/dwwoelfel/gists{/gist_id}","starred_url":"https://api.github.com/users/dwwoelfel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwwoelfel/subscriptions","organizations_url":"https://api.github.com/users/dwwoelfel/orgs","repos_url":"https://api.github.com/users/dwwoelfel/repos","events_url":"https://api.github.com/users/dwwoelfel/events{/privacy}","received_events_url":"https://api.github.com/users/dwwoelfel/received_events","type":"User","site_admin":false},"body":"Swap's out dato's websocket code for [talaria](https://github.com/dwwoelfel/talaria). \r\n\r\nTalaria has some nice features like reconnects, automatic long-polling fallback, a send delay to reduce number of round-trips, built-in callback support, etc.\r\n\r\n\r\n\r\n\r\n\r\n","created_at":"2015-09-23T00:17:49Z","updated_at":"2015-09-23T16:14:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"01b1b7a9c1587faf998c4ad8a33a760ff4698893","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sgrove/dato/pulls/21/commits","review_comments_url":"https://api.github.com/repos/sgrove/dato/pulls/21/comments","review_comment_url":"https://api.github.com/repos/sgrove/dato/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sgrove/dato/issues/21/comments","statuses_url":"https://api.github.com/repos/sgrove/dato/statuses/6fe3985d6f599cfc57684d0fdfc0944ad8323b7b","head":{"label":"sgrove:talaria","ref":"talaria","sha":"6fe3985d6f599cfc57684d0fdfc0944ad8323b7b","user":{"login":"sgrove","id":35296,"avatar_url":"https://avatars.githubusercontent.com/u/35296?v=3","gravatar_id":"","url":"https://api.github.com/users/sgrove","html_url":"https://github.com/sgrove","followers_url":"https://api.github.com/users/sgrove/followers","following_url":"https://api.github.com/users/sgrove/following{/other_user}","gists_url":"https://api.github.com/users/sgrove/gists{/gist_id}","starred_url":"https://api.github.com/users/sgrove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgrove/subscriptions","organizations_url":"https://api.github.com/users/sgrove/orgs","repos_url":"https://api.github.com/users/sgrove/repos","events_url":"https://api.github.com/users/sgrove/events{/privacy}","received_events_url":"https://api.github.com/users/sgrove/received_events","type":"User","site_admin":false},"repo":{"id":39857175,"name":"dato","full_name":"sgrove/dato","owner":{"login":"sgrove","id":35296,"avatar_url":"https://avatars.githubusercontent.com/u/35296?v=3","gravatar_id":"","url":"https://api.github.com/users/sgrove","html_url":"https://github.com/sgrove","followers_url":"https://api.github.com/users/sgrove/followers","following_url":"https://api.github.com/users/sgrove/following{/other_user}","gists_url":"https://api.github.com/users/sgrove/gists{/gist_id}","starred_url":"https://api.github.com/users/sgrove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgrove/subscriptions","organizations_url":"https://api.github.com/users/sgrove/orgs","repos_url":"https://api.github.com/users/sgrove/repos","events_url":"https://api.github.com/users/sgrove/events{/privacy}","received_events_url":"https://api.github.com/users/sgrove/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sgrove/dato","description":"Experiment in distilling apps to their essence","fork":false,"url":"https://api.github.com/repos/sgrove/dato","forks_url":"https://api.github.com/repos/sgrove/dato/forks","keys_url":"https://api.github.com/repos/sgrove/dato/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sgrove/dato/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sgrove/dato/teams","hooks_url":"https://api.github.com/repos/sgrove/dato/hooks","issue_events_url":"https://api.github.com/repos/sgrove/dato/issues/events{/number}","events_url":"https://api.github.com/repos/sgrove/dato/events","assignees_url":"https://api.github.com/repos/sgrove/dato/assignees{/user}","branches_url":"https://api.github.com/repos/sgrove/dato/branches{/branch}","tags_url":"https://api.github.com/repos/sgrove/dato/tags","blobs_url":"https://api.github.com/repos/sgrove/dato/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sgrove/dato/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sgrove/dato/git/refs{/sha}","trees_url":"https://api.github.com/repos/sgrove/dato/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sgrove/dato/statuses/{sha}","languages_url":"https://api.github.com/repos/sgrove/dato/languages","stargazers_url":"https://api.github.com/repos/sgrove/dato/stargazers","contributors_url":"https://api.github.com/repos/sgrove/dato/contributors","subscribers_url":"https://api.github.com/repos/sgrove/dato/subscribers","subscription_url":"https://api.github.com/repos/sgrove/dato/subscription","commits_url":"https://api.github.com/repos/sgrove/dato/commits{/sha}","git_commits_url":"https://api.github.com/repos/sgrove/dato/git/commits{/sha}","comments_url":"https://api.github.com/repos/sgrove/dato/comments{/number}","issue_comment_url":"https://api.github.com/repos/sgrove/dato/issues/comments{/number}","contents_url":"https://api.github.com/repos/sgrove/dato/contents/{+path}","compare_url":"https://api.github.com/repos/sgrove/dato/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sgrove/dato/merges","archive_url":"https://api.github.com/repos/sgrove/dato/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sgrove/dato/downloads","issues_url":"https://api.github.com/repos/sgrove/dato/issues{/number}","pulls_url":"https://api.github.com/repos/sgrove/dato/pulls{/number}","milestones_url":"https://api.github.com/repos/sgrove/dato/milestones{/number}","notifications_url":"https://api.github.com/repos/sgrove/dato/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sgrove/dato/labels{/name}","releases_url":"https://api.github.com/repos/sgrove/dato/releases{/id}","created_at":"2015-07-28T20:51:30Z","updated_at":"2015-09-21T12:51:31Z","pushed_at":"2015-09-23T00:17:49Z","git_url":"git://github.com/sgrove/dato.git","ssh_url":"git@github.com:sgrove/dato.git","clone_url":"https://github.com/sgrove/dato.git","svn_url":"https://github.com/sgrove/dato","homepage":null,"size":512,"stargazers_count":81,"watchers_count":81,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":14,"forks":0,"open_issues":14,"watchers":81,"default_branch":"master"}},"base":{"label":"sgrove:master","ref":"master","sha":"fcf7222d4f336dde898eb3b089ecabdaa85110ee","user":{"login":"sgrove","id":35296,"avatar_url":"https://avatars.githubusercontent.com/u/35296?v=3","gravatar_id":"","url":"https://api.github.com/users/sgrove","html_url":"https://github.com/sgrove","followers_url":"https://api.github.com/users/sgrove/followers","following_url":"https://api.github.com/users/sgrove/following{/other_user}","gists_url":"https://api.github.com/users/sgrove/gists{/gist_id}","starred_url":"https://api.github.com/users/sgrove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgrove/subscriptions","organizations_url":"https://api.github.com/users/sgrove/orgs","repos_url":"https://api.github.com/users/sgrove/repos","events_url":"https://api.github.com/users/sgrove/events{/privacy}","received_events_url":"https://api.github.com/users/sgrove/received_events","type":"User","site_admin":false},"repo":{"id":39857175,"name":"dato","full_name":"sgrove/dato","owner":{"login":"sgrove","id":35296,"avatar_url":"https://avatars.githubusercontent.com/u/35296?v=3","gravatar_id":"","url":"https://api.github.com/users/sgrove","html_url":"https://github.com/sgrove","followers_url":"https://api.github.com/users/sgrove/followers","following_url":"https://api.github.com/users/sgrove/following{/other_user}","gists_url":"https://api.github.com/users/sgrove/gists{/gist_id}","starred_url":"https://api.github.com/users/sgrove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgrove/subscriptions","organizations_url":"https://api.github.com/users/sgrove/orgs","repos_url":"https://api.github.com/users/sgrove/repos","events_url":"https://api.github.com/users/sgrove/events{/privacy}","received_events_url":"https://api.github.com/users/sgrove/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sgrove/dato","description":"Experiment in distilling apps to their essence","fork":false,"url":"https://api.github.com/repos/sgrove/dato","forks_url":"https://api.github.com/repos/sgrove/dato/forks","keys_url":"https://api.github.com/repos/sgrove/dato/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sgrove/dato/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sgrove/dato/teams","hooks_url":"https://api.github.com/repos/sgrove/dato/hooks","issue_events_url":"https://api.github.com/repos/sgrove/dato/issues/events{/number}","events_url":"https://api.github.com/repos/sgrove/dato/events","assignees_url":"https://api.github.com/repos/sgrove/dato/assignees{/user}","branches_url":"https://api.github.com/repos/sgrove/dato/branches{/branch}","tags_url":"https://api.github.com/repos/sgrove/dato/tags","blobs_url":"https://api.github.com/repos/sgrove/dato/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sgrove/dato/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sgrove/dato/git/refs{/sha}","trees_url":"https://api.github.com/repos/sgrove/dato/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sgrove/dato/statuses/{sha}","languages_url":"https://api.github.com/repos/sgrove/dato/languages","stargazers_url":"https://api.github.com/repos/sgrove/dato/stargazers","contributors_url":"https://api.github.com/repos/sgrove/dato/contributors","subscribers_url":"https://api.github.com/repos/sgrove/dato/subscribers","subscription_url":"https://api.github.com/repos/sgrove/dato/subscription","commits_url":"https://api.github.com/repos/sgrove/dato/commits{/sha}","git_commits_url":"https://api.github.com/repos/sgrove/dato/git/commits{/sha}","comments_url":"https://api.github.com/repos/sgrove/dato/comments{/number}","issue_comment_url":"https://api.github.com/repos/sgrove/dato/issues/comments{/number}","contents_url":"https://api.github.com/repos/sgrove/dato/contents/{+path}","compare_url":"https://api.github.com/repos/sgrove/dato/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sgrove/dato/merges","archive_url":"https://api.github.com/repos/sgrove/dato/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sgrove/dato/downloads","issues_url":"https://api.github.com/repos/sgrove/dato/issues{/number}","pulls_url":"https://api.github.com/repos/sgrove/dato/pulls{/number}","milestones_url":"https://api.github.com/repos/sgrove/dato/milestones{/number}","notifications_url":"https://api.github.com/repos/sgrove/dato/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sgrove/dato/labels{/name}","releases_url":"https://api.github.com/repos/sgrove/dato/releases{/id}","created_at":"2015-07-28T20:51:30Z","updated_at":"2015-09-21T12:51:31Z","pushed_at":"2015-09-23T00:17:49Z","git_url":"git://github.com/sgrove/dato.git","ssh_url":"git@github.com:sgrove/dato.git","clone_url":"https://github.com/sgrove/dato.git","svn_url":"https://github.com/sgrove/dato","homepage":null,"size":512,"stargazers_count":81,"watchers_count":81,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":14,"forks":0,"open_issues":14,"watchers":81,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sgrove/dato/pulls/21"},"html":{"href":"https://github.com/sgrove/dato/pull/21"},"issue":{"href":"https://api.github.com/repos/sgrove/dato/issues/21"},"comments":{"href":"https://api.github.com/repos/sgrove/dato/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/sgrove/dato/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/sgrove/dato/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sgrove/dato/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/sgrove/dato/statuses/6fe3985d6f599cfc57684d0fdfc0944ad8323b7b"}}}}