diff options
Diffstat (limited to 'src/chttpd_db.erl')
-rw-r--r-- | src/chttpd_db.erl | 1 |
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) |