diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/couch/src/couch_file.erl | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/couch/src/couch_file.erl b/apps/couch/src/couch_file.erl index a8a465af..9c06a44e 100644 --- a/apps/couch/src/couch_file.erl +++ b/apps/couch/src/couch_file.erl @@ -270,13 +270,8 @@ init({Filepath, Options, ReturnPid, Ref}) -> end end. -maybe_track_open_os_files(FileOptions) -> - case lists:member(sys_db, FileOptions) of - true -> - ok; - false -> - couch_stats_collector:track_process_count({couchdb, open_os_files}) - end. +maybe_track_open_os_files(_FileOptions) -> + couch_stats_collector:track_process_count({couchdb, open_os_files}). terminate(_Reason, #file{fd = nil}) -> ok; |