{"action":"created","comment":{"url":"https://api.github.com/repos/ensime/ensime-server/pulls/comments/65104290","id":65104290,"diff_hunk":"@@ -61,7 +62,12 @@ class SearchService(\n   private val index = new IndexService(config.cacheDir / (\"index-\" + version))\n   private val db = new DatabaseService(config.cacheDir / (\"sql-\" + version))\n \n-  implicit val workerEC: MessageDispatcher = actorSystem.dispatchers.lookup(\"akka.search-service-dispatcher\")\n+  import ExecutionContext.Implicits.global","path":"core/src/main/scala/org/ensime/indexer/SearchService.scala","position":21,"original_position":21,"commit_id":"11a87bbe328b54c7e73fec11b15dd115644f4b14","original_commit_id":"11a87bbe328b54c7e73fec11b15dd115644f4b14","user":{"login":"rorygraves","id":2352078,"avatar_url":"https://avatars.githubusercontent.com/u/2352078?v=3","gravatar_id":"","url":"https://api.github.com/users/rorygraves","html_url":"https://github.com/rorygraves","followers_url":"https://api.github.com/users/rorygraves/followers","following_url":"https://api.github.com/users/rorygraves/following{/other_user}","gists_url":"https://api.github.com/users/rorygraves/gists{/gist_id}","starred_url":"https://api.github.com/users/rorygraves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rorygraves/subscriptions","organizations_url":"https://api.github.com/users/rorygraves/orgs","repos_url":"https://api.github.com/users/rorygraves/repos","events_url":"https://api.github.com/users/rorygraves/events{/privacy}","received_events_url":"https://api.github.com/users/rorygraves/received_events","type":"User","site_admin":false},"body":"Do we really want the global EC here?","created_at":"2016-05-30T20:28:12Z","updated_at":"2016-05-30T20:28:12Z","html_url":"https://github.com/ensime/ensime-server/pull/1478#discussion_r65104290","pull_request_url":"https://api.github.com/repos/ensime/ensime-server/pulls/1478","_links":{"self":{"href":"https://api.github.com/repos/ensime/ensime-server/pulls/comments/65104290"},"html":{"href":"https://github.com/ensime/ensime-server/pull/1478#discussion_r65104290"},"pull_request":{"href":"https://api.github.com/repos/ensime/ensime-server/pulls/1478"}}},"pull_request":{"url":"https://api.github.com/repos/ensime/ensime-server/pulls/1478","id":71935221,"html_url":"https://github.com/ensime/ensime-server/pull/1478","diff_url":"https://github.com/ensime/ensime-server/pull/1478.diff","patch_url":"https://github.com/ensime/ensime-server/pull/1478.patch","issue_url":"https://api.github.com/repos/ensime/ensime-server/issues/1478","number":1478,"state":"open","locked":false,"title":"Backpressure","user":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"body":"close #1341\r\n\r\nThis is a pretty evil hack, but the benefit to users is worth it.\r\n\r\nWe're introducing a semaphore during indexing to link backpressure between the (CPU and memory intensive) indexing and (very slow) persistence.\r\n\r\nWe can do it properly if we ever find a scala framework as good as `core.async` in clojure.\r\n","created_at":"2016-05-30T20:20:52Z","updated_at":"2016-05-30T20:28:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8fd537c0732d94fa69da5eb17053d19e7962b784","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ensime/ensime-server/pulls/1478/commits","review_comments_url":"https://api.github.com/repos/ensime/ensime-server/pulls/1478/comments","review_comment_url":"https://api.github.com/repos/ensime/ensime-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ensime/ensime-server/issues/1478/comments","statuses_url":"https://api.github.com/repos/ensime/ensime-server/statuses/11a87bbe328b54c7e73fec11b15dd115644f4b14","head":{"label":"fommil:backpressure","ref":"backpressure","sha":"11a87bbe328b54c7e73fec11b15dd115644f4b14","user":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"repo":{"id":19290649,"name":"ensime-server","full_name":"fommil/ensime-server","owner":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fommil/ensime-server","description":"ENhanced Scala Interaction Mode for Emacs","fork":true,"url":"https://api.github.com/repos/fommil/ensime-server","forks_url":"https://api.github.com/repos/fommil/ensime-server/forks","keys_url":"https://api.github.com/repos/fommil/ensime-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fommil/ensime-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fommil/ensime-server/teams","hooks_url":"https://api.github.com/repos/fommil/ensime-server/hooks","issue_events_url":"https://api.github.com/repos/fommil/ensime-server/issues/events{/number}","events_url":"https://api.github.com/repos/fommil/ensime-server/events","assignees_url":"https://api.github.com/repos/fommil/ensime-server/assignees{/user}","branches_url":"https://api.github.com/repos/fommil/ensime-server/branches{/branch}","tags_url":"https://api.github.com/repos/fommil/ensime-server/tags","blobs_url":"https://api.github.com/repos/fommil/ensime-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fommil/ensime-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fommil/ensime-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/fommil/ensime-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fommil/ensime-server/statuses/{sha}","languages_url":"https://api.github.com/repos/fommil/ensime-server/languages","stargazers_url":"https://api.github.com/repos/fommil/ensime-server/stargazers","contributors_url":"https://api.github.com/repos/fommil/ensime-server/contributors","subscribers_url":"https://api.github.com/repos/fommil/ensime-server/subscribers","subscription_url":"https://api.github.com/repos/fommil/ensime-server/subscription","commits_url":"https://api.github.com/repos/fommil/ensime-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/fommil/ensime-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/fommil/ensime-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/fommil/ensime-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/fommil/ensime-server/contents/{+path}","compare_url":"https://api.github.com/repos/fommil/ensime-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fommil/ensime-server/merges","archive_url":"https://api.github.com/repos/fommil/ensime-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fommil/ensime-server/downloads","issues_url":"https://api.github.com/repos/fommil/ensime-server/issues{/number}","pulls_url":"https://api.github.com/repos/fommil/ensime-server/pulls{/number}","milestones_url":"https://api.github.com/repos/fommil/ensime-server/milestones{/number}","notifications_url":"https://api.github.com/repos/fommil/ensime-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fommil/ensime-server/labels{/name}","releases_url":"https://api.github.com/repos/fommil/ensime-server/releases{/id}","deployments_url":"https://api.github.com/repos/fommil/ensime-server/deployments","created_at":"2014-04-29T20:31:29Z","updated_at":"2016-01-28T21:21:04Z","pushed_at":"2016-05-30T20:21:33Z","git_url":"git://github.com/fommil/ensime-server.git","ssh_url":"git@github.com:fommil/ensime-server.git","clone_url":"https://github.com/fommil/ensime-server.git","svn_url":"https://github.com/fommil/ensime-server","homepage":"","size":57874,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"ensime:master","ref":"master","sha":"c4d06ce7fbe54d22c9665da9dc090ea150ad34d5","user":{"login":"ensime","id":5089042,"avatar_url":"https://avatars.githubusercontent.com/u/5089042?v=3","gravatar_id":"","url":"https://api.github.com/users/ensime","html_url":"https://github.com/ensime","followers_url":"https://api.github.com/users/ensime/followers","following_url":"https://api.github.com/users/ensime/following{/other_user}","gists_url":"https://api.github.com/users/ensime/gists{/gist_id}","starred_url":"https://api.github.com/users/ensime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ensime/subscriptions","organizations_url":"https://api.github.com/users/ensime/orgs","repos_url":"https://api.github.com/users/ensime/repos","events_url":"https://api.github.com/users/ensime/events{/privacy}","received_events_url":"https://api.github.com/users/ensime/received_events","type":"Organization","site_admin":false},"repo":{"id":578384,"name":"ensime-server","full_name":"ensime/ensime-server","owner":{"login":"ensime","id":5089042,"avatar_url":"https://avatars.githubusercontent.com/u/5089042?v=3","gravatar_id":"","url":"https://api.github.com/users/ensime","html_url":"https://github.com/ensime","followers_url":"https://api.github.com/users/ensime/followers","following_url":"https://api.github.com/users/ensime/following{/other_user}","gists_url":"https://api.github.com/users/ensime/gists{/gist_id}","starred_url":"https://api.github.com/users/ensime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ensime/subscriptions","organizations_url":"https://api.github.com/users/ensime/orgs","repos_url":"https://api.github.com/users/ensime/repos","events_url":"https://api.github.com/users/ensime/events{/privacy}","received_events_url":"https://api.github.com/users/ensime/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ensime/ensime-server","description":"ENSIME JVM Process","fork":false,"url":"https://api.github.com/repos/ensime/ensime-server","forks_url":"https://api.github.com/repos/ensime/ensime-server/forks","keys_url":"https://api.github.com/repos/ensime/ensime-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ensime/ensime-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ensime/ensime-server/teams","hooks_url":"https://api.github.com/repos/ensime/ensime-server/hooks","issue_events_url":"https://api.github.com/repos/ensime/ensime-server/issues/events{/number}","events_url":"https://api.github.com/repos/ensime/ensime-server/events","assignees_url":"https://api.github.com/repos/ensime/ensime-server/assignees{/user}","branches_url":"https://api.github.com/repos/ensime/ensime-server/branches{/branch}","tags_url":"https://api.github.com/repos/ensime/ensime-server/tags","blobs_url":"https://api.github.com/repos/ensime/ensime-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ensime/ensime-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ensime/ensime-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/ensime/ensime-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ensime/ensime-server/statuses/{sha}","languages_url":"https://api.github.com/repos/ensime/ensime-server/languages","stargazers_url":"https://api.github.com/repos/ensime/ensime-server/stargazers","contributors_url":"https://api.github.com/repos/ensime/ensime-server/contributors","subscribers_url":"https://api.github.com/repos/ensime/ensime-server/subscribers","subscription_url":"https://api.github.com/repos/ensime/ensime-server/subscription","commits_url":"https://api.github.com/repos/ensime/ensime-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/ensime/ensime-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/ensime/ensime-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/ensime/ensime-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/ensime/ensime-server/contents/{+path}","compare_url":"https://api.github.com/repos/ensime/ensime-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ensime/ensime-server/merges","archive_url":"https://api.github.com/repos/ensime/ensime-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ensime/ensime-server/downloads","issues_url":"https://api.github.com/repos/ensime/ensime-server/issues{/number}","pulls_url":"https://api.github.com/repos/ensime/ensime-server/pulls{/number}","milestones_url":"https://api.github.com/repos/ensime/ensime-server/milestones{/number}","notifications_url":"https://api.github.com/repos/ensime/ensime-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ensime/ensime-server/labels{/name}","releases_url":"https://api.github.com/repos/ensime/ensime-server/releases{/id}","deployments_url":"https://api.github.com/repos/ensime/ensime-server/deployments","created_at":"2010-03-25T00:57:54Z","updated_at":"2016-05-28T11:12:30Z","pushed_at":"2016-05-30T20:21:35Z","git_url":"git://github.com/ensime/ensime-server.git","ssh_url":"git@github.com:ensime/ensime-server.git","clone_url":"https://github.com/ensime/ensime-server.git","svn_url":"https://github.com/ensime/ensime-server","homepage":"","size":67086,"stargazers_count":1021,"watchers_count":1021,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":234,"mirror_url":null,"open_issues_count":82,"forks":234,"open_issues":82,"watchers":1021,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ensime/ensime-server/pulls/1478"},"html":{"href":"https://github.com/ensime/ensime-server/pull/1478"},"issue":{"href":"https://api.github.com/repos/ensime/ensime-server/issues/1478"},"comments":{"href":"https://api.github.com/repos/ensime/ensime-server/issues/1478/comments"},"review_comments":{"href":"https://api.github.com/repos/ensime/ensime-server/pulls/1478/comments"},"review_comment":{"href":"https://api.github.com/repos/ensime/ensime-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ensime/ensime-server/pulls/1478/commits"},"statuses":{"href":"https://api.github.com/repos/ensime/ensime-server/statuses/11a87bbe328b54c7e73fec11b15dd115644f4b14"}}}}
{"actor":{"display_login":"rorygraves"}}