diff options
| -rw-r--r-- | src/file_handle_cache.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_handle_cache.erl b/src/file_handle_cache.erl index f27adfd9f4..304f933580 100644 --- a/src/file_handle_cache.erl +++ b/src/file_handle_cache.erl @@ -1188,7 +1188,7 @@ ulimit() -> {win32, _OsName} -> %% On Windows max_fds is twice the number of open files: %% https://github.com/yrashk/erlang/blob/master/erts/emulator/sys/win32/sys.c#L2463-2466 - MaxFds / 2; + MaxFds div 2; _Any -> %% For other operating systems trust Erlang. MaxFds |
