couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject couch commit: updated refs/heads/windsor-merge to a46c038
Date Mon, 11 Aug 2014 19:04:21 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/windsor-merge 42c89cd40 -> a46c03873


Store the language as a binary in ets

This was breaking pattern matching and never reusing OS processes. The
new hard limit in CouchDB caused the bug to manifest where we'd not seen
it previously.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/a46c0387
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/a46c0387
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/a46c0387

Branch: refs/heads/windsor-merge
Commit: a46c038737fcc91e6b7846f7aa833ca35b03c3dd
Parents: 42c89cd
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Mon Aug 11 14:03:41 2014 -0500
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Mon Aug 11 14:03:41 2014 -0500

----------------------------------------------------------------------
 src/couch_proc_manager.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/a46c0387/src/couch_proc_manager.erl
----------------------------------------------------------------------
diff --git a/src/couch_proc_manager.erl b/src/couch_proc_manager.erl
index 541686c..33ef06c 100644
--- a/src/couch_proc_manager.erl
+++ b/src/couch_proc_manager.erl
@@ -355,7 +355,7 @@ teach_ddoc(DDoc, {DDocId, _Rev}=DDocKey, #proc_int{ddoc_keys=Keys}=Proc)
->
 
 make_proc(Pid, Lang, Mod) ->
     Proc = #proc_int{
-        lang = Lang,
+        lang = couch_util:to_binary(Lang),
         pid = Pid,
         prompt_fun = {Mod, prompt},
         set_timeout_fun = {Mod, set_timeout},


Mime
View raw message