This is an automated email from the ASF dual-hosted git repository.

jiahuili430 pushed a commit to branch d-config-changes
in repository https://gitbox.apache.org/repos/asf/couchdb-ioq.git

commit b63e098ad4f3c06cdfe17a5c07dc211201b70e35
Author: Jiahui Li <[email protected]>
AuthorDate: Fri Sep 12 15:44:31 2025 -0500

    d debug
---
 src/ioq_server.erl  | 1 +
 src/ioq_server2.erl | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/ioq_server.erl b/src/ioq_server.erl
index c817c65..64176f0 100644
--- a/src/ioq_server.erl
+++ b/src/ioq_server.erl
@@ -543,6 +543,7 @@ dump_table(#state{counters = Tab} = State) ->
 
 save_to_db() ->
     Timeout = get_interval(),
+    io:format("+++ ~p/~p()@~B -> ioq:stats_interval Timeout: ~p~n", [?MODULE, 
?FUNCTION_NAME, ?LINE, Timeout]),
     receive {'ETS-TRANSFER', Tab, _, _} ->
         Dict = ets:foldl(fun table_fold/2, dict:new(), Tab),
         TS = list_to_binary(iso8601_timestamp()),
diff --git a/src/ioq_server2.erl b/src/ioq_server2.erl
index c2fc215..b264d0a 100644
--- a/src/ioq_server2.erl
+++ b/src/ioq_server2.erl
@@ -152,6 +152,7 @@ pcall(Msg) ->
 
 -spec pcall(any(), non_neg_integer()) -> any().
 pcall(Msg, Timeout) ->
+    io:format("+++ ~p/~p()@~B -> Most ioq2 Timeout is 0.5s: ~p~n", [?MODULE, 
?FUNCTION_NAME, ?LINE, Timeout]),
     {MainPid, MainRef} = spawn_monitor(fun() ->
         PidRefs = lists:map(fun(Name) ->
             spawn_monitor(fun() ->

Reply via email to