You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ch...@apache.org on 2021/08/24 21:54:58 UTC
[couchdb-ioq] 05/07: Don't crash on no io_priority
This is an automated email from the ASF dual-hosted git repository.
chewbranca pushed a commit to branch ioq-per-shard-or-user
in repository https://gitbox.apache.org/repos/asf/couchdb-ioq.git
commit a84ec63f25714c1ea4d3788cfba021035ed47f47
Author: Russell Branca <ch...@apache.org>
AuthorDate: Fri Aug 13 12:58:22 2021 -0700
Don't crash on no io_priority
---
src/ioq_server2.erl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/ioq_server2.erl b/src/ioq_server2.erl
index 85e3644..654b8c8 100644
--- a/src/ioq_server2.erl
+++ b/src/ioq_server2.erl
@@ -94,7 +94,8 @@
-spec call(pid(), term(), io_dimensions()) -> term().
-call(Fd, Msg, Dimensions) when Dimensions =/= undefined ->
+%%call(Fd, Msg, Dimensions) when Dimensions =/= undefined ->
+call(Fd, Msg, Dimensions) ->
Req0 = #ioq_request{
fd = Fd,
msg = Msg,