summaryrefslogtreecommitdiff
path: root/src/chttpd_db.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/chttpd_db.erl')
-rw-r--r--src/chttpd_db.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl
index 306d6fea..9e04ffa1 100644
--- a/src/chttpd_db.erl
+++ b/src/chttpd_db.erl
@@ -143,6 +143,7 @@ create_db_req(#httpd{user_ctx=UserCtx}=Req, DbName) ->
delete_db_req(#httpd{user_ctx=UserCtx}=Req, DbName) ->
case fabric:delete_db(DbName, [{user_ctx, UserCtx}]) of
ok ->
+ couch_metrics_disk:notify({db_delete, {UserCtx#user_ctx.name, DbName}}),
send_json(Req, 200, {[{ok, true}]});
Error ->
throw(Error)