Expose mem3_sync backlog size

Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/30c8bc59
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/30c8bc59
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/30c8bc59

Branch: refs/heads/import
Commit: 30c8bc5932c59ead0a9736706bf46e41fd2fc09f
Parents: f68c115
Author: Paul J. Davis <[email protected]>
Authored: Thu Feb 21 01:11:05 2013 -0600
Committer: Robert Newson <[email protected]>
Committed: Wed Mar 6 12:22:38 2013 -0600

----------------------------------------------------------------------
 src/chttpd_misc.erl | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/30c8bc59/src/chttpd_misc.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_misc.erl b/src/chttpd_misc.erl
index 994cd1c..5e8299c 100644
--- a/src/chttpd_misc.erl
+++ b/src/chttpd_misc.erl
@@ -281,6 +281,7 @@ handle_system_req(Req) ->
         {process_count, erlang:system_info(process_count)},
         {process_limit, erlang:system_info(process_limit)},
         {message_queues, message_queues(registered())},
+        {internal_replication_jobs, mem3_sync:get_backlog()},
         {distribution, {get_distribution_stats()}}
     ]}).
 

Reply via email to