couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iil...@apache.org
Subject [1/2] couch commit: updated refs/heads/master to b1127cd
Date Thu, 21 Apr 2016 19:03:55 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/master b49d06916 -> b1127cdf5


Use ioq to separately prioritise prompt requests

COUCHDB-3001


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

Branch: refs/heads/master
Commit: 0cd210a15b0d702c41cfcb7fd17f117e3639a0bc
Parents: b49d069
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Thu Apr 21 11:52:07 2016 -0700
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Thu Apr 21 11:52:07 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/0cd210a1/src/couch_os_process.erl
----------------------------------------------------------------------
diff --git a/src/couch_os_process.erl b/src/couch_os_process.erl
index 5b9a17f..4f15555 100644
--- a/src/couch_os_process.erl
+++ b/src/couch_os_process.erl
@@ -51,7 +51,7 @@ send(Pid, Data) ->
     gen_server:cast(Pid, {send, Data}).
 
 prompt(Pid, Data) ->
-    case gen_server:call(Pid, {prompt, Data}, infinity) of
+    case ioq:call(Pid, {prompt, Data}, erlang:get(io_priority)) of
         {ok, Result} ->
             Result;
         Error ->


Mime
View raw message