You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ji...@apache.org on 2025/07/29 19:16:37 UTC
(couchdb-ioq) 01/01: Increment csrt ioq called
This is an automated email from the ASF dual-hosted git repository.
jiahuili430 pushed a commit to branch couch-stats-resource-tracker-v3
in repository https://gitbox.apache.org/repos/asf/couchdb-ioq.git
commit 1bf3febfd92ca15779ee05078e8441286efe20a3
Author: Russell Branca <ch...@apache.org>
AuthorDate: Tue Feb 13 16:58:42 2024 -0800
Increment csrt ioq called
Related PR: ioq 28
---
src/ioq.erl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/ioq.erl b/src/ioq.erl
index fed2290..5343798 100644
--- a/src/ioq.erl
+++ b/src/ioq.erl
@@ -53,12 +53,14 @@ call(Pid, {prompt, _} = Msg, Priority) ->
call(Pid, {data, _} = Msg, Priority) ->
ioq_osq:call(Pid, Msg, Priority);
call(Fd, Msg, Priority) ->
+ couch_srt:ioq_called(),
case ioq2_enabled() of
false -> ioq_server:call(Fd, Msg, Priority);
true -> ioq_server2:call(Fd, Msg, Priority)
end.
call_search(Fd, Msg, Priority) ->
+ couch_srt:ioq_called(),
case ioq2_enabled() of
false -> ioq_server:call(Fd, Msg, Priority);
true -> ioq_server2:call_search(Fd, Msg, Priority)