Skip to content

Commit 1bf3feb

Browse files
chewbrancajiahuili430
authored andcommitted
Increment csrt ioq called
Related PR: ioq 28
1 parent e0f9ba4 commit 1bf3feb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/ioq.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,14 @@ call(Pid, {prompt, _} = Msg, Priority) ->
5353
call(Pid, {data, _} = Msg, Priority) ->
5454
ioq_osq:call(Pid, Msg, Priority);
5555
call(Fd, Msg, Priority) ->
56+
couch_srt:ioq_called(),
5657
case ioq2_enabled() of
5758
false -> ioq_server:call(Fd, Msg, Priority);
5859
true -> ioq_server2:call(Fd, Msg, Priority)
5960
end.
6061

6162
call_search(Fd, Msg, Priority) ->
63+
couch_srt:ioq_called(),
6264
case ioq2_enabled() of
6365
false -> ioq_server:call(Fd, Msg, Priority);
6466
true -> ioq_server2:call_search(Fd, Msg, Priority)

0 commit comments

Comments
 (0)