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
The following commit(s) were added to refs/heads/ioq-per-shard-or-user by this
push:
new c5e91ca HACK: explode loudly on missing io_priority
c5e91ca is described below
commit c5e91ca9660579c634360fc63422fe2cee237d4a
Author: Russell Branca <[email protected]>
AuthorDate: Wed Mar 6 19:14:04 2019 +0000
HACK: explode loudly on missing io_priority
---
src/ioq_server2.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ioq_server2.erl b/src/ioq_server2.erl
index 1ed49c4..60f4276 100644
--- a/src/ioq_server2.erl
+++ b/src/ioq_server2.erl
@@ -94,7 +94,7 @@
-spec call(pid(), term(), io_dimensions()) -> term().
-call(Fd, Msg, Dimensions) ->
+call(Fd, Msg, Dimensions) when Dimensions =/= undefined ->
Req0 = #ioq_request{
fd = Fd,
msg = Msg,